Part Number Hot Search : 
L3705N TB16NM5 21366 EUA2310 GRM32D HD74HC51 B1392 XC17128D
Product Description
Full Text Search
 

To Download IDT821068PX Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 the idt logo is a registered trademark of integrated device technology, inc industrial temperature range december 08, 2003 ? 2003 integrated device technology, inc. dsc-6033/7 oct al programmable pcm codec idt821068 fea tures 8 channel codec with on-chip digital filters programmable a/ m -law compressed or linear code conversion meets itu-t g.711 - g.714 requirements programmable digital filter adapting to system demands: - ac impedance matching - transhybrid balance - frequency response correction - gain setting supports two programmable pcm buses and one gci bus flexible pcm interface with up to 128 programmable time slots, data rate from 512 kbits/s to 8.192 mbits/s broadcast mode for coefficient setting 7 slic signaling pins (including 2 debounced pins) per channel fast hardware ring trip mechanism two programmable tone generators per channel for testing, ringing and dtmf generation filter and a/d d/a and filter slic signaling ch1 vin1 vout1 2 inputs 2 i/os 3 outputs ch2 ch3 ch4 dsp core ch6 ch7 ch8 general control logic pll and clock generation serial interface pcm/gci interface mpi int reset dr1/dd dr2 dx1/du dx2 mclk chclk1 chclk2 cclk /ts cs ci/ double co fs /fsc bclk /dcl tsx1 tsx2 filter and a/d d/a and filter slic signaling ch5 2 inputs 2 i/os 3 outputs vin5 vout5 functional block diagram programmable teletax signal generation (12 khz or 16 khz) fsk generator two programmable chopper clocks master clock frequency selectable: 1.536 mhz, 1.544 mhz, 2.048 mhz, 3.072 mhz, 3.088 mhz, 4.096 mhz, 6.144 mhz, 6.176 mhz or 8.192 mhz advanced test capabilities - 3 analog loopback tests - 5 digital loopback tests - level metering function high analog driving capability (300 w ac) ttl and cmos compatible digital i/o codec identification +5 v single power supply operating temperature range: - 40c to + 85c package available: 128 pin pqfp
industrial temperature range idt821068 octal programmable pcm codec 2 description the idt821068 is a feature rich, single-chip, programmable 8 channel pcm codec with on-chip filters. besides the a-law/ m -law companding and linear coding/decoding (16-bit 2?s complement), idt821068 provides 2 programmable tone generators per channel (which can also generate ring signals), 1 fsk generator, 1 program- mable teletax signal generator and 2 programmable chopper clocks for slic. the digital filters in idt821068 provide the necessary transmit and receive filtering for voice telephone circuit to interface with time-division multiplexed systems. an integrated programmable dsp realizes ac impedance matching, transhybrid balance, frequency response correction and gain setting functions. the idt821068 supports 2 pcm buses with programmable sampling edge, that allows an extra delay of up to 7 clocks. once the delay is determined, it is effective to 1 2 3 4 5 6 7 8 9 10 1 1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 103 104 105 106 107 108 109 1 10 1 1 1 1 12 1 13 1 14 1 15 1 16 1 17 1 18 1 19 120 121 122 123 124 125 126 127 128 sb1_1 si2_1 si1_1 vdd12 so3_2 so2_2 so1_2 sb2_2 sb1_2 si2_2 si1_2 gndas cnf1 vout1 gnda1 vin1 vdda12 vin2 gnda2 vout2 vout3 gnda3 vin3 vdda34 vin4 gnda4 vout4 si1_3 si2_3 sb1_3 sb2_3 so1_3 so2_3 so3_3 vdd34 si1_4 si2_4 sb1_4 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 sb1_5 si2_5 si1_5 vdd56 so3_6 so2_6 so1_6 sb2_6 sb1_6 si2_6 si1_6 vddas cnf2 vout5 gnda5 vin5 vdda56 vin6 gnda6 vout6 vout7 gnda7 vin7 vdda78 vin8 gnda8 vout8 si1_7 si2_7 sb1_7 sb2_7 so1_7 so2_7 so3_7 vdd78 si1_8 si2_8 sb1_8 idt821068 128 pin pqfp pin configura tions all eight channels of idt821068. the device also provides 7 signaling pins to slic on per channel basis. the idt821068 provides 2 programming interfaces: microprocessor interface (mpi) and general control interface (gci), which is also known as isdn oriented module ( iom ? -2). for both mpi and gci programming, the device supports both compressed and linear data format. the device also offers strong test capability with several analog/ digital loopbacks and level metering function. it brings convenience to system maintenance and diagnosis. a unique feature of ?hardware ring trip? is implemented in idt821068. when off-hook signal is detected, idt821068 can reverse an output pin to stop ringing immediately. the idt821068 can be used in digital telecommunication applications such as central office switch, pbx, dlc and integrated access device (iad), i.e. voip and vodsl. iom ? -2 is a registered trademark of siemens ag. sb2_8 so1_8 so2_8 so3_8 gnd78 gnddp nc chclk1 chclk2 vdddp mclk bclk/dcl fs/fsc nc tsx2 dx2 dr2 tsx1 dx1/du dr1/dd nc gnd34 so3_4 so2_4 so1_4 sb2_4 sb2_5 so1_5 so2_5 so3_5 gnd56 mpi cs cclk/ts ci/double co int nc nc nc nc nc nc nc nc reset nc gnd12 so3_1 so2_1 so1_1 sb2_1
industrial temperature range idt821068 octal programmable pcm codec 3 pin description name type pin number description gnda1 gnda2 gnda3 gnda4 gnda5 gnda6 gnda7 gnda8 - 15 19 22 26 88 84 81 77 analog ground. all ground pins should be connected together. gndas - 12 analog ground for bias. all ground pins should be connected together. gnd1 2 gnd34 gnd56 gnd78 - 124 43 107 60 digital ground. all ground pins should be connected together. gnddp - 59 digital ground for pll. all ground pins should be connected together. vdda12 vdda34 vdda56 vdda78 - 17 24 86 79 +5v analog power supply. these pi ns should be connect ed to ground via a 0.1 m f capacitor. all power supply pins should be connected together. vddas - 91 +5v analog power supply for bias. this pin should be connect ed to ground via a 0.1 m f capacitor. all power supply pins should be connecte d together. vdd12 vdd34 vdd56 vdd78 - 4 35 99 68 +5v digital power supply. these pins should be connected to ground via a 0.1 m f capacitor. all power supply pins should be connected together. vdddp - 55 +5v digital power supply for pll. this pin should be connected to ground via a 0.1 m f capacitance. all power supply pins should be connected together. vin1 - 8 i 16, 18, 23, 25 87, 85, 80, 78 analog voice inputs. these pins should be connected with the slic via a capacitor (0.22 m f). vout1 - 8 o 14, 20, 21, 2 7 89, 83, 82, 76 voice frequency receiver outputs. these pins can drive 300 w ac load. it allows the direct driving of transformer. si1_(1 - 8) si2_(1 - 8) i 3, 11, 28, 36 100, 92, 75,67 2, 10, 29, 37 101, 93, 74,66 debounced slic signaling inputs for channel 1 - 8. sb1_(1 - 8) sb2_(1 - 8) i/o 1, 9, 30, 38 102, 94, 73,65 128, 8, 31,39 103, 95,72, 64 slic signaling i/os for channel 1 - 8. so1_(1 - 8) so2_(1 - 8) so3_(1 - 8) o 127, 7, 32,40 104, 96,71, 63 126, 6, 33,41 105, 97,70, 62 125, 5, 34,42 106, 98,69, 61 slic signaling outputs for channel 1 - 8. dx1/du o 46 transmit pcm data output (for mpi)/gci data upstream (for gci). in mpi mode, this pin remains high - impedance until a pulse appears on fs input. pcm data can output from dx1 or dx2 as selected by serial port, following the bclk. in gci mode, gci data is serially transmitted on this pi n for all 8 channels of idt821068. which part of the gci data will be occupied is determined by cclk/ts pin. dx2 o 49 transmit pcm data output (for mpi). this pin remains high - impedance until a pulse appears on fs input. pcm data can output from dx1 or dx 2 as selected by serial port. this pin is not used in gci mode. dr1/dd i 45 receive pcm data input (for mpi)/gci data downstream (for gci). in mpi mode, pcm data is shifted into dr1 or dr2 following the bclk. pcm data can input from dr1 and dr2 as sele cted by serial port. in gci mode, gci data is received serially on this pin for all 8 channels of idt821068. which part of the gci data will be transmitted is determined by cclk/ts pin.
industrial temperature range idt821068 octal programmable pcm codec 4 pin description (continued) name type pin number description dr2 i 48 receive pcm data input (for mpi). pcm data is shifted into dr1 or dr2 following the bclk. pcm data can input from dr1 and dr2 as selected by serial port. this pin is not used in gci mode fs/fsc i 52 frame synchro nization signal (for mpi)/frame sync signal (for gci). in mpi mode, fs is an 8 khz synchronization clock that identifies the beginning of the pcm frame. in gci mode, fsc is an 8 khz signal that identifies the beginning of timeslot 0 in the gci frame. bclk /dcl i 53 bit clock (for mpi)/data clock (for gci). in mpi mode, bclk pin clocks out the pcm data on dx1 or dx2 pin and clock in pcm data from dr1 or dr2 pin. it may vary from 512khz to 8.192 mhz, and is required to be synchronous with fs. in gci mode, dcl pin is either 2.048 mhz or 4.096 mhz. the frequency is selected by ci/double pin. when ci/double pin is low, dcl will be 2.048 mhz; when ci/double pin is high, dcl will be 4.096 mhz. it is recommended to connect mclk and dcl pin together. tsx1 tsx2 o 47 50 timeslot indicator output (for mpi). this pin pulses low during the receive timeslot. a low on this pin indicates dx1/dx2 output. these two open - drain pins are not used in gci mode. cs i 109 chip selection. in mpi mode, a low level on this pin enables the serial control interface. in gci mode, a low level on this pin configures a compressed gci operation, while a high level on this pin configures a linear gci operation. ci/double i 111 serial control interface data input (for mpi)/double dcl (for gci) . in mpi mode, data input on this pin can control both c odec and slic. in gci mode, this pin is used to determine the frequency of dcl. when low, dcl will be 2.048 mhz; when high, dcl will be 4.096 mhz. co o 112 serial control interface data output (for mpi). this pin is used to monitor slic working status. it is in high impedance state when cs is high. this pin is not used in gci mode. cclk/ts i 110 serial control interface clock (for mpi)/timeslot selection (for gci). in mpi mode, this is the clock for serial control interface. it can be up to 8.192 mhz. in compressed gci mode, this pin indicates which half of 8 continuous gci timeslots is used. when this pin is low, timeslots 0 - 3 are selected; when this pin is high, timeslots 4 - 7 are selected. in linea r gci mode, this pin indicates which half of 8 continuous gci timeslots is used for voice signal. when this pin is low, timeslots 0 - 3 are used as monitor channel and c/i octet, timeslots 4 - 7 are used for linear voice; when this pin is high, timeslots 4 - 7 a re used for linear voice, timeslots 0 - 3 are used as monitor channel and c/i octet. mpi i 108 mpi/gci select. this pin is used to determine which operation mode the idt821068 works in. when this pin is low, mpi/pcm mode is selected; when this pin is high, gci mode is selected. reset i 122 reset input. forces the device to default mode. active low. int o 113 interrupt output pin. active low interrupt signal for ch1 - ch8, open - drain. it reflects the changes on slic pins. mclk i 54 master clock. master cl ock provides the clock for dsp. in mpi mode, it can be 1.536 mhz, 1.544 mhz, 2.048 mhz, 3.072 mhz, 3.088 mhz, 4.096 mhz, 6.144 mhz, 6.176 mhz or 8.192 mhz. it can be asynchronous to bclk. in gci mode, it is recommended to connect mclk and dcl pin together . the frequency of mclk can be 2.048 mhz or 4.096 mhz. see bclk/dcl pin description. chclk1 o 57 chopper clock output. provides a programmable (2 - 28 ms) output signal synchronous to mclk. chclk2 o 56 chopper clock output. provides a programmable 256 khz, or 512 khz or 16.384 mhz output signal synchronous to mclk. cnf1 cnf2 - 13 90 capacitor noise filter. nc - 44, 51, 58, 114 115,116,117,118 119,120,121,123 no connection.
industrial temperature range idt821068 octal programmable pcm codec 5 functional description the idt821068 performs the codec/filter functions required for the subscribe line interface circuitry in telecommunications system. idt821068 converts analog voice signals to digital pcm samples and digital pcm samples back to analog voice signals. high performance oversampling analog-to-digital converters (adc) and digital-to- analog converters (dac) in the idt821068 provide the required conversion accuracy. the associated decimation and interpolation filters are realized with both dedicated hardware and digital signal processor (dsp). the dsp also handles all other necessary functions such as pcm bandpass filtering, sample rate conversion and pcm companding. see the functional block diagram for more detail. mpi/pcm mode and gci mode microprocessor interface (mpi) and general control interface (gci) help the user to program and control the codec. mpi pin selects the interface: ?0? selects mpi mode and ?1? selects gci mode. mpi control mode in mpi mode, the internal configuration registers (local/global), the slic signaling interface and the coefficient-ram, fsk-ram of the idt821068 are programmed by microprocessor via the serial control interface, which consists of four lines (pins): cclk, cs , ci and co. all the commands and data transmitted or received are aligned in byte (8 bits). cclk is the serial control interface clock, it can be up to 8.192 mhz; cs is the chip select pin, a low level on it enables the serial control interface; ci and co are the serial control interface data input and output, carrying the control commands and data bytes to/from the idt821068. the data transfer is synchronized to the cclk input. the contents of ci is latched on the rising edges of cclk, while co changes on the falling edges of cclk. when finishing a read or write command, the clck must last at least one cycle after the cs is set high. during the execution of commands that are followed by output data (read commands), the device will not accept any new commands from ci. the data transfer sequence can be interrupted by setting cs high. see figure 1 and figure 2. cclk is the only reference of ci and co pins. its duty and frequency may not necessarily be standard. 7 6 5 4 3 2 1 6 5 4 3 2 1 0 6 5 4 3 2 1 0 7 command byte data byte 1 data byte 2 high 'z' 0 7 figure 1. an example of serial interface write mode cclk cs ci co pcm bus in mpi mode, idt821068 provides two flexible pcm buses for all 8 channels. the digital pcm data can be compressed (a/ m -law) or linear format, which is determined by the dms bit in global command 7. the data rate can be configured as same as bit clock (bclk) or half of it. the data can be transmitted or received either on bclk rising edges or on falling edges. the data transmit and receive time slots can be offset from frame synchronization (fs) by 0 bclk period to 7 bclk periods. see figure 3. all the selections are implemented by global command 7, which is configured for all 8 channels. the pcm data of each channel can be assigned to any time slot of the pcm bus. the number of available time slots is determined by bclk frequency. for example, when bclk is 512 khz, time slot 0-7 are available; when bclk is 1.024 mhz, time slot 0-15 are available; when bclk is 8.192 mhz, time slot 0-127 are available. the idt821068 allows any bclk frequency between 512 khz and 8.192 mhz at increment of 64 khz in a system. when compressed format (8-bit) is selected, the voice data of one channel occupies one time slot. the tt[6:0] bits in local command 7 selects the transmit time slot for each channel, while the rt[6:0] bits in local command 8 selects the receive time slot for each channel. when linear format is selected, the voice data is a 16-bit 2?s complement number (b15 and b14 are the same as b13, which is the sign bit, b13 to b0 are effective bits). then the voice data of one channel occupies a time slot group, which is consisted of 2 successive time slots. the tt[6:0] bits in local command 7 select the transmit time slot group for each channel, while the rt[6:0] bits in local command 8 select the receive time slot group for each channel. pcm data for each individual channel can be clocked out of dx1 or dx2 pin on the programmed edges of bclk according to time slot as- signment. the transmit highway (dx1/2) is selected by the ths bit in local command 7. the frame sync (fs) pulse identifies the begin- ning of a transmit frame, or time slot 0. the pcm data is transmitted serially on dx1 or dx2 with msb first. pcm data for each channel can be clocked into dr1 or dr2 pin on the programmed edges of bclk according to time slot assignment. the receive highway (dr1/2) is selected by the rhs bit in local com- mand 8. the frame sync (fs) pulse identifies the beginning of a re- ceive frame, or time slot 0. the pcm data is received serially from dr1 or dr2 with msb first.
industrial temperature range idt821068 octal programmable pcm codec 6 7 6 5 4 3 2 1 0 6 5 4 3 2 1 0 6 5 4 3 2 1 0 7 command byte identification code data byte 1 high 'z' '0' '0' '0' '0' '0' '0' '1' '1' 6 5 4 3 2 1 0 7 don't care cclk cs ci co figure 2. an example of serial interface read mode (id = 81h) bit 7 time slot 0 fs bclk bclk transmit receive single clock double clock figure 3. sampling edge select waveform pcm clock slope bits in global command 7: cs = 000 cs = 001 cs = 010 cs = 011 cs = 100 cs = 101 cs = 110 cs = 111
industrial temperature range idt821068 octal programmable pcm codec 7 gci mode in gci mode, the gci interface provides communication of both control and voice data between the gci bus and slic over a pair of pins (dd and du). the idt821068 follows the gci standard where voice and control data for eight channels are combined into one serial bit stream: data upstream is sent out of the du pin and data downstream is received on the dd pin. the data transmission is controlled by the data clock (dcl) and frame synchronization (fsc) signals. the frame sync (fsc) pulse identifies the beginning of the transmit and receive frames and all gci time slots refer to it. the dcl signal can be 2.048mhz or 4.096 mhz, decided by double pin. the idt821068 adjusts internal timing to accommodate signal (2.048 mhz) or double (4.096 mhz) clock rate. a complete gci frame is sent upstream on du pin and received downstream on dd pin every 125 m s. in gci mode, idt821068 supports compressed and linear voice data format. to make the selection, users should set the mpi and cs pin to correct level as shown in the following table, and at the same time, set the dms bit in global command accordingly. mpi cs voice data format 1 0 compressed gci 1 1 linear gci figure 4. compressed gci frame structure ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts7 ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts7 detail voice channel a voice channel b monitor channel c/i channel m r m x voice channel a voice channel b monitor channel c/i channel m r m x 125 m s fsc dcl dd du du dd detail ts = 0 ts = 1 idt821068 channels timeslot voice channel timeslot voice channel 1 timeslot0 a timeslot4 a 2 timeslot0 b timeslot4 b 3 timeslot1 a timeslot5 a 4 timeslot1 b timeslot5 b 5 timeslot2 a timeslot6 a 6 timeslot2 b timeslot6 b 7 timeslot3 a timeslot7 a 8 timeslot3 b timeslot7 b compressed gci structure in gci compressed mode, the data upstream interface logic con- trols the transmission of data onto the gci bus. one gci frame con- sists of 8 gci time slots, and one gci time slot consists of four 8-bit bytes as described below: - two voice data bytes from the a-law or m -law compressor for two different channels. for easy description, we name the two channels as channel a and channel b. the compressed voice data bytes for chan- nel a and b are 8-bit wide; - one monitor channel byte, which is used for reading control data from the device for channel a and b; - one c/i channel byte, which contains a 6 bit width c/i channel sub- byte together with an mx bit and an mr bit. all real time signaling in- formation is carried on the c/i channel sub-byte. the mx (monitor transmit) bit and mr (monitor receive) bits are used for handshaking functions for channel a and b. both mx and mr are active low. the data structure of the data downstream is as same as that of upstream. the data downstream interface logic controls the reception of data bytes from the gci bus. the two compressed voice channel data bytes of the gci time slot are transferred to the a-law or m -law ex- pansion logic circuit. the expanded data is passed to the receive path of the signal processor. the monitor channel and c/i channel bytes are transferred to the gci control logic for processing. figure 4 shows the overall compressed gci frame structure. in compressed operation, four time slots are required to access the eight channels of idt821068. the gci time slot assignment is determined by the ts pin as shown in table 1. table 1 - time slot selection for compressed gci
industrial temperature range idt821068 octal programmable pcm codec 8 linear gci structure in gci linear mode, one gci frame consists of 8 gci time slots, each gci time slot consists of four 8-bit bytes. four of the 8 time slots are used as monitor channel and c/i octet, they have a common data structure: - two don?t care bytes. - one monitor channel byte, which is used for reading/writing control data/coefficients from/to the device for channel a and b. - one c/i byte, which contains a 6 bit width c/i channel sub-byte together with an mx bit and an mr bit. all real time signaling information is carried on the c/i channel sub-byte. the mx (monitor figure 5. linear gci frame structure when ts is low ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts7 ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts7 detail a don't care don't care monitor channel c/i channel m r m x don't care don't care monitor channel c/i channel m r m x 125 m s fsc dcl dd du du dd detail a detail b du dd detail b 16-bit linear voice data for channel a 16-bit linear voice data for channel b 16-bit linear voice data for channel a 16-bit linear voice data for channel b ts0-3 for monitor and c/i ts4-7 for linear voice data ts = 0 idt821068 channels timeslot monitor and c/i timeslot voice channel 1 timeslot0 a timeslot4 a 2 timeslot0 b timeslot4 b 3 timeslot1 a timeslot5 a 4 timeslot1 b timeslot5 b 5 timeslot2 a timeslot6 a 6 timeslot2 b timeslot6 b 7 timeslot3 a timeslot7 a 8 timeslot3 b timeslot7 b ts = 1 1 timeslot4 a timeslot0 a 2 timeslot4 b timeslot0 b 3 timeslot5 a timeslot1 a 4 timeslot5 b timeslot1 b 5 timeslot6 a timeslot2 a 6 timeslot6 b timeslot2 b 7 timeslot7 a timeslot3 a 8 timeslot7 b timeslot3 b transmit) bit and mr (monitor receive) bits are used for handshaking functions for channel a and b. both mx and mr bits are active low. other four gci time slots are used for linear voice data (16-bit 2?s complement). each time slot consists of two 16-bit linear voice data bytes: one byte contains the linear voice data for channel a, the other byte contains the linear voice data for channel b. the gci time slot assignment is determined by the ts pin. when ts is low, the linear gci frame structure is shown in figure 5. in linear operation, total eight gci time slots are required to access the eight channels of idt821068. see table 2 for detailed information about time slot assignment for linear mode. table 2 - time slot selection for linear gci
industrial temperature range idt821068 octal programmable pcm codec 9 b7 b6 b5 b4 b3 b2 b1 b0 si1(a) si2(a) sb1(a) si1(b) si2(b) sb1(b) mr mx b7 b6 b5 b4 b3 b2 b1 b0 a /b so3 so2 so1 sb1 sb2 mr mx c/i channel in both compressed gci and linear gci mode, the upstream and downstream c/i channel bytes are continuously carrying i/o information every frame to and from the idt821068. in this way, the upstream processor can have an immediate access to slic output data present on idt821068?s programmable i/o port on slic side through downstream c/i channel, as well as to slic input data through upstream c/i channel. the idt821068 transmits or receives the c/i channel data with the most significant bit first. the mr and mx bits are used for handshaking during data exchanges on the monitor channel. upstream c/i channel the c/i channel which includes six c/i channel bits, is transmitted upstream by the idt821068 every frame. the bit definitions for the upstream c/i channel are shown below. upstream c/i octet msb lsb the logic state of input ports si1 and si2 for channel a and channel b, as well as the bidirectional port sb1 for channel a and b if sb1 is programmed as an input, are read and transmitted in the upstream c/i channel. when sb2 is programmed as input, its data are not available in upstream c/i channel and can be read by global command 12 only. downstream c/i channel the downstream c/i octet is defined as: downstream c/i octet msb lsb herein, a /b selects channel a or channel b: a /b = 0: channel a is selected; a /b = 1: channel b is selected. the downstream c/i channel carries the slic output data bits of so1, so2 and so2 for channel a or b, as well as sb1 and sb2 output bits when sb1 and sb2 are programmed as outputs. monitor channel the monitor channel is used to transfer of maintenance information between the upstream and downstream devices. the information includes reading/writing the global/local registers and coefficient/fsk ram of the idt821068 or providing slic signaling and so on. using two monitor control bits (mr and mx) per direction, data is transferred in a complete handshake procedure. the mr and mx bits in the c/i channel of the gci frame are used for the handshake procedure of the monitor channel. see figure 6. the monitor channel transmission operates on a pseudo- asynchronous basis: - data transfer (bits) on the bus is synchronized to fsc; - data flow (bytes) are asynchronously controlled by the handshake procedure. for example: data is placed onto the dd monitor channel by the monitor transmitter of the master device (dd mx bit is activated and set to ?0?). this data transfer will be repeated within each frame (125 m s rate) until it is acknowledged by the idt821068 monitor receiver by setting the du mr bit to ?0?, which is checked by the monitor transmitter of the master device. thus, the data rate is not 8 kbytes/s. monitor handshake the monitor channel works in 3 states: i. idle state: a pair of inactive (set to ?1?) mr and mx bits during two or more consecutive frames shows an idle state on the monitor channel and the end of message (eom); ii. sending state: mx bit is activated (set to ?0?) by the monitor transmitter, together with data-bytes (can be changed) on the monitor channel; iii. acknowledging: mr bit is set to active (i.e. ?0?) by the monitor receiver, together with a data byte remaining in the monitor channel. a start of transmission is initiated by a monitor transmitter by sending out an active mx bit together with the first byte of data to be transmitted in the monitor channel. this state remains until the addressed monitor receiver acknowledges the receipt by sending out an active low mr bit. the data transmission is repeated each 125 m s frame (minimum is one repetition). during this time the monitor transmitter keeps evaluating the mr bit. flow control, means in the form of transmission delay, can only take place when the transmitters mx and the receivers mr bit are in active state. since the receiver is able to receive the monitor data at least twice (in two consecutive frames), it is able to check for data errors. if two different bytes are received the receiver will wait for the receipt of two identical successive bytes (last look function). a collision resolution mechanism (check if another device is trying to send data during the same time) is implemented in the transmitter. this is done by looking for the inactive (?1?) phase of the mx bit and making a per bit collision check on the transmitted monitor data (check if transmitted ?1?s are on du/dd line; du/dd line are open drain lines). any abort leads to a reset of the idt821068 command stack, the device is ready to receive new commands. to obtain a maximum speed data transfer, the transmitter anticipates the falling edge of the receivers acknowledgment. due to the inherent programming structure, duplex operation is not possible. it is not allowed to send any data to the idt821068, while transmission is active. refer to figure 7 and 8 for more information about monitor handshake procedure. the idt821068 can be controlled very flexibly by commands operating on registers or rams via the gci monitor channel, refer to ?programming description? for further details.
industrial temperature range idt821068 octal programmable pcm codec 10 monitor transmitter monitor receiver monitor receiver monitor transmitter master device idt821068 mx mx mx mx mr mr mr mr dd du figure 6. monitor channel operation idle mx = 1 wait mx = 1 abort mx = 1 1st byte mx = 0 eom mx = 1 nth byte ack mx = 1 wait for ack mx = 0 mr or mxr mxr mr and mxr mr and mxr mr and rqt mr and rqt mr mr mr and rqt mr mr and rqt mr mr and rqt cls/abt any state initial state mr: mr bit received on dd mx: mx bit calculated and expected on du mxr: mx bit sampled on du cls: collision within the monitor data byte on du rqt: request for transmission from internal source abt: abort request/indication figure 7. state diagram of monitor transmitter
industrial temperature range idt821068 octal programmable pcm codec 11 idle mr = 1 nth byte rec mr = 1 wait for ll mr = 0 1st byte rec mr = 0 abort mr = 1 byte valid mr = 0 new byte mr = 1 mx mx and ll mx mx mx mx and ll mx mx and ll wait for ll mr = 0 initial state mx mx mx and ll mx and ll mx and ll mx mx any state abt figure 8. state diagram of monitor receiver mr: mr bit calculated and transmitted on du mx: mx bit received data downstream (dd) ll: last look of monitor byte received on dd abt: abort indication to internal source
industrial temperature range idt821068 octal programmable pcm codec 12 dsp programming signal processing several blocks are programmable for signal processing. this al- lows users to optimize the performance of the idt821068 for the sys- tem. figure 9 shows the signal flow for each channel and indicate the programmable blocks. the programmable digital filters can be adjusted for desired gain, impedance, transhybrid balance and frequency response. the coeffi- cients of all digital filters can be calculated by a software (cal48) pro- vided by idt. users should provide accurate slic model, impedance and gain requirements, then the software (cal48) will calculate all the coefficients. when these coefficients are written to the coefficient ram of the idt821068, the final ac characteristics of the line card (consists of slic and codec) will meet the itu-t specifications. gain adjustment the analog gain and digital gain of each channel can be adjusted separately in idt821068. for each individual channel, in transmit path, analog a/d gain can be selected as 0 db or 6 db. the selection is done by a/d gain (gad) bit in local command 10. the default analog gain for transmit path is 0 db. for each individual channel, in receive path, analog d/a gain can be selected as 0 db or -6 db. the selection is done by d/a gain (gda) bit in local command 10. the default analog gain for receive path is 0 db. digital gain of transmit path (gtx) can be programmed from -3 db to +12 db with minimum 0.1 db step. if cs[5] bit is ?0? in local command 1, the digital gain in transmit path is set to be the default value. if cs[5] bit is ?1? in local command 1, the digital gain in transmit path will be decided by the coefficient in gtx ram. digital gain of receive path (grx) can be programmed from -12 db to +3 db with minimum 0.1 db step. if cs[7] bit is ?0? in local command 1, the digital gain in receive path is set to be the default value. if cs[7] bit is ?1? in local command 1, the digital gain in receive path will be decided by the coefficient in grx ram. impedance matching there is a programmable feedback path on each channel from vin to vout in the idt821068. it synthesizes the two-wire impedance of the slic. the impedance matching filter (imf) and the gain of impedance scaling (gis) are adjustable, they work together to realize impedance matching. if the cs[0] bit in local command 1 is ?0?, the imf coefficient is set to be default value; if cs[0] is ?1?, the imf coefficient is set by the imf ram. if the cs[2] bit in local command 1 is ?0?, the gis coefficient is set to be default value; if cs[2] is ?1?, the gis coefficient is set by the gis ram. transhybrid balance transhybrid balancing filter is used to adjust transhybrid balance to ensure the echo cancellation meets the itu-t specifications. the co- efficient for echo cancellation (ecf) can be programmed. if the cs[1] bit in local command 1 is ?0?, the coefficient of ecf is set to be default value; if cs[1] is ?1?, the coefficient of ecf is decided by the ecf ram. frequency response correction the idt821068 provides two filters that can be programmed to cor- rect any frequency distortion caused by the impedance matching filter, they are: frequency response correction for transmit path (frx) fil- ter and frequency response correction for receive path (frr) filter. the coefficients of frx filter and frr filter can be programmed. if the cs[4] bit in local command 1 is ?0?, the frx coefficient is set to be default value, while if cs[4] is ?1?, the frx coefficient is decided by the frx ram. if the cs[6] bit in local command 1 is ?0?, the frr coeffi- cient is set to be default value, while if cs[6] is ?1?, the frr coefficient is decided by the frr ram. the address of the coe-ram including gtx, grx, frx, frr, gis, ecf and imf ram are listed in appendix.
industrial temperature range idt821068 octal programmable pcm codec 13 - ? lpf frx hpf lpf/sc - ? lpf u1 frr ecf billing uf d2 u2 imf gis d1 atx arx dtx drx @2mhz @64khz @16khz @8khz analog lpf/aa gtx grx @128khz dual tone cmp exp tsa tsa dlb-1bit alb-1bit dlb-8k alb-8k dlb-ts dlb-di alb-di dlb-ana cut-off-pcm pcm highway ts transmit p ath receive path fsk level meter local command1: cs[2] 1=enable ( normal ) 0=disable(cut ) local command1: cs[0] 1=enable (normal) 0 = disable(cut ) local command1: cs[1] 1=enable (normal) 0=disable ( cut ) local command1: cs[3] 1=enable (normal) 0=disable ( b yp ass ) bold block framed: programmable filters fine block framed: fixed filters figure 9. signal flow for each channel abbreviation list lpf/aa: anti-alias low-pass filter lpf/sc: smoothing low-pass filter lpf: low-pass filter hpf: high-pass filter gis: gain for impedance scaling d1: 1st down sample stage d2: 2nd down sample stage u1: 1st up sample stage u2: 2nd up sample stage uf: up sampling filter (64k-128k) imf: impedance matching filter ecf: echo cancellation filter gtx: gain for transmit path grx: gain for receive path frx: frequency response correction for transmit frr: frequency response correction for receive cmp: compression exp: expansion tsa: time slot assignment
industrial temperature range idt821068 octal programmable pcm codec 14 slic control the slic interface of idt821068 for each channel consists of 7 pins: 2 inputs si1 and si2, 2 i/o pins sb1 and sb2, together with 3 outputs so1, so2 and so3. si1 and si2 in both mpi and gci mode, slic inputs si1 and si2 can be read via global command 9 or 10 for all 8 channels. the eight sia bits of global command 9 represent the eight debounced si1 signals on corresponding channels, while the eight sib bits of global command 10 represent the eight debounced si2 signals on corresponding channels. in this way, information on si1 or si2 for eight channels can be obtained from idt821068 with a read operation. both si1 and si2 can be assigned to off-hook, ring trip, ground key signals or other signals. the 2 global commands allow the microprocessor a more efficient way of obtaining time-critical data such as on/off-hook and ring trip information. in mpi operation, si1 and si2 data for each channel can also be read by local command 9. in gci operation, si1 and si2 data for each channel can be obtained in the field of upstream c/i octet. refer to gci interface description. sb1 and sb2 in both mpi and gci mode, slic i/o pin sb1 for each channel can be configured as input or output separately (the default direction is input), by global command 13. each bit in this command corresponds to one channel?s sb1 direction. when a bit in this command is set to 0, the sb1 pin of its corresponding channel is configured as an input; when the bit is set to 1, the sb1 pin of its corresponding channel is configured as an output. global command 14 determines the i/o direction of the sb2 pins for each channel in the same way. in mpi mode, if sb1 and sb2 are selected as inputs, they can be read by global command 11 or 12, which provides sb1 or sb2 information for all 8 channels; or by local command 9, which provides sb1 and sb2 information for each individual channel. in mpi mode, if sb1 and sb2 are selected as outputs, data can be written to them by global command 11 or 12 only. in gci mode, if sb1 and sb2 are selected as inputs, the information of them can be read by global command 11 or 12. for sb1, the information can also be read in the field of upstream c/i channel octet. in gci mode, if sb1 and sb2 are selected as outputs, data can only be written to them through downstream c/i channel octet. refer to gci interface description for detail. so1, so2 and so3 slic output signals to so1, so2 and so3 pins can only be written for each individual channel. in mpi mode, local command 9 writes the 3 output pins for each channel. when local command 9 reads a channel?s slic pins, the so1-so3 bits will be read out with the data written in at last write operation. in gci mode, data can only be written to so1, so2 and so3 through downstream c/i channel octet. hardware ring trip in order to prevent the damage caused by high voltage ring signal, the idt821068 offers a hardware ring trip function to respond to the off-hook signal as fast as possible. this function can be enabled by setting rte bit in global command 15. the off-hook signal can be input via either si1 or si2, while the ring control signal can be output via any pin of so1, so2, so3, sb1 and sb2 (when sb1 and sb2 are configured as outputs). in global command 15, is bit determines which input is used and os[2:0] bits determine which output is used. when a valid off-hook signal arrives on si1 or si2, the idt821068 will turn off the ring signal by inverting the selected output, regardless of the value in corresponding slic output control register (the content in the corresponding slic control register should be changed later). this function provides a much faster response to off-hook signal than the software ring trip which turns off the ring signal by changing the value of selected output in the corresponding register. the ipi bit in global command 15 is used to indicate the valid polarity of input. if the off-hook signal is active low, the ipi bit should be set to 0; if the off-hook signal is active high, the ipi bit should be set to 1. the opi bit in global command 15 is used to indicate the valid polarity of output. if the ring control signal is required to be low in normal status and be high to activate a ring, the opi bit should be set to 1; if it is required to be high in normal status and be low to activate a ring, the opi bit should be set to 0. for example, in a system where the off-hook signal is active low and ring control signal is active high, the ipi bit in global command 15 should be set to 0 and the opi bit should be set to 1. in normal status, the selected input (off-hook signal) is high and the selected output (ring control signal) is low. when the ring is activated by setting the output (ring control signal) high, a low pulse appearing on the input (off-hook signal) will inform the device to invert the output to low and cut off the ring signal. interrupt and interrupt enable an interrupt mechanism is offered in idt821068 for reading the slic input status. each slic input generates interrupt respectively when it changes state. any of si1, si2, sb1 and sb2 (when sb1 and sb2 are configured as inputs) can be interrupt source. as si1 and si2 are debounced signals while sb1 and sb2 are not, users should be careful if they select sb1 and sb2 as interrupt sources. the idt821068 provides an interrupt enable command (local command 2) for each interrupt source to enable its interrupt ability. this command contains 4 bits (ie[3:0]) for each channel. each bit of the ie[3:0] corresponds to one interrupt source of the specific channel. the device will ignore the interrupt signal if its corresponding bit in interrupt enable command is set to 0 (disable). multiple interrupt sources can be enabled at the same time. the interrupt sources can only be cleared by executing a read operation of local command 9, by which clear all the 7 interrupt sources for the corresponding channel.
industrial temperature range idt821068 octal programmable pcm codec 15 chopper clock idt821068 offers two programmable chopper clock outputs: chclk1 and chclk2. both chclk1 and chclk2 are synchronous to mclk. chclk1 outputs signal with programmable 2-28 ms clock cycle, while the frequency of chclk2 can be any of 256 khz, 512 khz and 16.384 mhz. the frequency selection of chopper clocks can be implemented by global command 8. the chopper clocks can be used to drive the power supply switching regulators on slics. debounce fil ters for each channel, idt821068 provides two debounce filter circuits: debounced switch hook (dsh) filter for si1 and ground key (gk) filter for si2 as shown in figure 10. they are used to buffer the input signals on si1 and si2 pins before changing the state of the slic debounced input si1/si2 registers (global command 9 and 10), or, before changing the state of the gci upstream c/i octet. frame sync (fs) is necessary for both dsh filter and gk filter. dsh debounce bits in local command 4 can program the debounce time of si1 input from slic on individual channel. the dsh filter is initially clocked at half of the frame sync rate (250 m s), and any data changing at this sample rate resets a programmable counter. the counter clocks at the rate of 2 ms, and the count value can be varied from 0 to 30 which is determined by local command 4. the corresponding sia bit in the slic debounced input si1 register (accessed by global command 9), and the corresponding channel?s si1 bit in gci upstream c/i octet would not be updated with the si1 input state until the count value is reached. si1 bit usually contains slic switch hook status. gk debounce bits in local command 4 can program the debounce interval of si2 input from slic on corresponding channel. the debounced signal will be output to sib of slic debounced input si2 register (accessed by global command 10) and the corresponding channel?s si2 bit in gci upstream c/i octet. the gk debounce filter consists of an up/down counter that ranges between 0 and 6. this six-state counter is clocked by the gk timer at the sampling period of 0-30 ms, as programmed by local command 4. when the sampled value is low, the counter is decremented by each figure 10. debounce filters d q d q d q d q e d q dsh3-dsh0 debounce period (0-30ms) d q gk3-gk0 debounce interval (0-30ms) up/ down q 6 states up/down counter 7 bit debounce counter 7 bit debounce counter = 0 1 0 gk sib sia si1 4khz si2 rst fs/2 clock pulse. when the sampled value is high, the counter is incremented by each clock pulse. when the counter increments to 6, it sets a latch whose output is routed to the corresponding sib bit and gci upstream c/i octet si2 bit. if the counter decrements to 0, this latch is cleared and the output bit is set to 0. in other cases, the latch, the sib status and the si2 bit in gci upstream c/i octet remain in their previous state without being changed. in this way, at least six consecutive gk clocks with the debounce input remaining at the same state to effect an output change. dual t one and ring genera tion each channel of idt821068 has two tone generators, tone 0 generator and tone1 generator, which can produce a gain-adjustable dual tone signal and output it on vout pin. the dual tone signal can be used for the signal generations such as test, dtmf, dial tone, busy tone, congestion tone and caller-id alerting tone etc. the tone0 generator and tone1 generator of each channel can be enabled or disabled independently by setting the t0e and t1e bits in local command 6. the frequency of the tones generated can be programmed from 1 hz to 4.095 khz with 4095 steps. local command 5 provides 12 bits for each tone generator to set the frequency. the gain of the tone0 and tone1 signal of each channel is programmed by the tg[5:0] bits in local command 6, in the range of -3 db to -39 db. the gain of each tone can calculated by the formula below: g = 20 lg (tg2/256) + 3.14 where, tg is the decimal value of tg[5:0]. the dual tone output invert bit (toi) of global command 19 can invert the output tone signal. when it is ?0?, it means no inversion; when it is ?1?, the output tone signal will be inverted. ring signal is a special signal generated by the dual tone generators. when only one tone generator is enabled or both tone generators produce the same tone, and frequency of the tone is set as ring signal required (10 hz to 100 hz), the vout pin will output the ring signal.
industrial temperature range idt821068 octal programmable pcm codec 16 fsk signal generation the idt821068 provides a fsk signal generator, which is used to send caller-id message. generally, the procedure of sending caller- id fsk signal message is as the following: step 1: start, send seizure signal; step 2: send mark signal; step 3: send one byte caller-id message, then send flag signal; step 4: if the messages to be sent are finished, stop; otherwise, return to step 3. herein, the seizure signal is a string of '01' pairs to inform telephone set that caller-id message will come; the mark signal is a string of '1', which follows the seizure signal to inform telephone set that caller-id message is coming; while the flag signal is a string of '1' sending between two bytes of caller-id message, with this the telephone set can have enough time to processing the received byte. according to the generic procedure of fsk signal sending, a recommended programming flow chart for idt821068 fsk generator is shown on the following page. in order to make it easy for users to understand the flow chart, several notes should be given: 1. the fsk function block will be enabled when fsk on/off bit (fo) in global command 24 is set to 1. after finishing sending the fsk signal, the fo bit should be set to 0 to disable the generation function. 2. the fsk start bit (fs) in global command 24 is used to indicate the start of the fsk signal generation, when fs bit is 0 which means the fsk generator is idle, users can go on with the operation; when fs bit is 1 which means fsk generator is busy, users should wait until it turns to 0 (after the message data in the fsk-ram having been sent, the fs bit will be cleared to 0 automatically). 3. the length of the seizure signal, mark signal and flag signal are different in different system, for idt821068, they can be programmed by global command 22, 23 and 20 respectively. it should be noted that, the seizure length is two times of the value that set in global command 22, for example, if the sl[7:0] bits of global command 22 is 1(d), it means that the seizure length is 2(d). 4. as is described in ?addressing of fsk-ram?, the fsk-ram consists of 32 words, and each word consists of 16 bits (2 bytes), so it can contain up to 64 bytes of message at one time. if the message data that need to be sent is larger than 64 bytes, then users should write them into the fsk-ram several times according to the length of the message. 5. the ? data length? is the number of bytes that written in the fsk- ram and need to be sent out. during the transmission of fsk signal, an internal counter will count the number of data bytes that have been transmitted, once it reaches the data length, the fsk transmission is completed and the fs bit is set to 0. 6. because there is only one fsk-ram shared by eight channels of idt821068, the fsk signal can only generate on one channel at one time, the channel selection is done by the fcs[2:0] bits of global command 24. 7. the fsk signal generated by the idt821068 follows the bell 202 and ccitt v.23 specifications. users can select bt or bellcore standard by setting the fsk mode select bit (fms) in global command 24. the difference between bt and bellcore is shown in table 3. 8. the ?mark after send? bit (mas) is useful if the total message data is longer than 64 bytes. if the mas bit is set to 1, then after sending one frame of fsk-ram message(=< 64 bytes), idt821068 item bt bellcore mark( 1 ) frequency 1300 hz 1.5% 1200hz 1.1% space ( 0 ) frequency 2100 hz 1.1% 2200 hz 1.1% transmission rate 1200 baud 1% 1200 baud 1 % word format 1 start bit which is ?0?, 8 word bits (with least significant bit lsb first), 1 stop bit which is ?1? 1 start bit which is ?0? 8 word bits (with least significant bit lsb first) 1 stop bit which is ?1? will keep sending a series of ?1? to hold the communication channel for sending next frame of fsk message, and at the same time, users can update the fsk-ram with new data. this series of '1' will stop by set the mas bit to 0 or set the fo bit to 0. 9. it should be noted that, when writing/reading message data to/ from the fsk-ram via mpi/gci interface, the sequence of read/write is msb first; but the fsk generator will send these signal (message data) out through channel port with lsb first. refer to the idt821068 application note for more information. level metering the idt821068 has a level meter which can be shared by all 8 sig- nal channels. the level meter is designed to emulate the off-chip pcm test equipment so as to facilitate the line-card, subscriber line and user telephone set monitoring. the level meter tests the returned signal and reports the measurement result via mpi/gci interface. when combined with tone generation and loopback modes, this al- lows the microprocessor to test channel integrity. cs[2:0] bits in global command 19 select the channel, signal on which will be metered. level metering function is enabled by setting lmo bit to 1 in global command 19. there is a level meter counter register for this function. it can be accessed by global command 18. this register is used to configure the number of time cycles for sampling pcm data (8 khz sampling rate). the output of level metering will be sent to level meter result low and level meter result high registers (global command 16 and 17). the lmrl register contains the lower 7 bits of the output and a data-ready bit (drlv), while the lmrh register contains the higher 8 bits of the output. an internal accumulator sums the rectified samples until the number configured by level meter counter register is reached. by then, the drlv bit is set to 1 and accumulation result is latched into the lmrl and lmrh registers simultaneously. once the lmrh register is read, the drlv bit will be reset. the drlv bit will be set high again by a new data available. the contents in lmrl and lmrh will be overwritten by later metering result if they are not read out yet. in level metering result read operation, it is highly recommended to read lmrl first. l/c bit in global command 19 determines the mode of level meter operation. when l/c bit is 1, the level meter will measure the linear pcm data, and if drlv bit is 1, the measure result will be table 3 - bt/bellcore standard of fsk signal
industrial temperature range idt821068 octal programmable pcm codec 17 read "fo" and "fs" bit in global command 24 fo=1 ? fs=0 ? set fo=1 set "seizure length" in global command 22 set "mark length" in global command 23 set "flag length" in global command 20 total message data =< 64 bytes ? set "data length" in global command 21 write message data into fsk-ram in global command 24: set fcs[2:0] bits to select fsk channel set fms bit to select specification (bellcore or bt) set mas = 0 set fs = 1 set "data length" at this time in global command 21 write message data to be sent at this time to fsk-ram in global command 24: set fcs[2:0] bits to select fsk channel set fms bit to select specification (bellcore or bt) set mas = 1 set fs = 1 finish sending all the message data ? set mas and fo bit to 0 in global command 24 end set "seizure length" to 0 in global command 22 set "mark length" to 0 in global command 23 end start n y finish sending message data ? set fo = 0 in global command 24 y n y n y n y n figure 11 . a recommended programming flow chart for fsk generator
industrial temperature range idt821068 octal programmable pcm codec 18 figure 12. teletax signal rising time falling time pause time output to lmrl and lmrh. when l/c bit is 0, compressed pcm will be output transparently to lmrh. the calculation and method of level metering will be described in application note. telet ax the teletax signal is used to sum the telephone fee according to the calling time and tariff. the frequency of teletax signal carrier can be selected as 12 khz or 16 khz ( 50 hz) by global command 19, while the amplitude of the teletax signal on specific channel can be programmed by teletax gain setting bits (tgs[7:0]) in local com- mand 3. when a ?1? appears on teletax ramp start bit (rs) of local command 10, the teletax signal will be output from the vout pin on the corresponding channel with a 16 ms 10% rising time. this teletax signal will last until a ?0? on the rs bit for the same channel. it has a falling time of 16 ms 10%, as shown in figure 12. channel power down/standby mode each individual channel of idt821068 can be powered down independently by local command 10. when the channel is powered down (enters into standby mode), pcm data transmission and reception, d/a and a/d are disabled. in this way, power consumption of the device can be reduced. when idt821068 is powered up or reset, all eight channels will be powered down. all circuits that contain programmed information retain their data when powered down. in mpi operation, mpi (microprocessor interface) is always active so that new command could be received and executed. in gci operation, the monitor channel of any time slot is always on so that new command could be accepted at any time. power down pll/suspend mode a suspend mode is offered to the whole chip to save power. in this mode, the pll block is turned off and dsp operation is disabled. this mode saves much more power consumption than standby mode. in this mode, only global command and local command can be executed. ram operation is disabled as internal clock has been turned off. the pll blocks can be powered down by global command 25. suspend mode can be entered by powering down pll and all channels.
industrial temperature range idt821068 octal programmable pcm codec 19 b7 b6 b5 b4 b3 b2 b1 b0 opera ting the idt821068 programming description the idt821068 can be programmed very flexibly via the serial control interface (mpi mode) or gci monitor channel (gci mode). in both mpi mode and gci mode, the programming is realized by writing commands to registers or rams in the chip. in mpi mode, the command data is transmitted/received via ci/co pin; while in gci mode, command data is sent/received via dd/du pin. broadcast mode for mpi programming a broadcast mode is provided in mpi write-operation (not allowed in a read-operation). each channel has its own enable bit (ce[0] to ce[7] in global register 6) to allow individual channel programming. if more than one channel enable bit is high (enable) or if all channel enable bits are high, all channels enabled will receive the programming information written; therefore, a broadcast mode can be implemented by simply enable all the channels in the device to receive the programming information. the broadcast mode is very useful in initializing idt821068 such as coefficient setting in a large system. identifica tion code for mpi mode in mpi mode, idt821068 provides an identification code to distinguish itself from other device of the system. when being read, idt821068 outputs an identification code of 81h before data bytes, which indicate that the following data is from idt821068. program st art byte for gci mode the idt821068 uses the monitor channel for the exchange of status or mode information with high level processors. the messages transmitted in the monitor channel have different data structures. for a complete command operation, the first byte of monitor channel data indicates the address of the device either sending or receiving the data. all monitor channel messages to/from idt821068 begin with the following program start (ps) byte: because one monitor channel is shared by two voice data channels to transmit maintenance information, so an a /b bit is used in the ps byte to identify the two channels. for easy description, we name them as channel a and channel b. herein, a /b = 0: means that channel a is the source (upstream) or destination (downstream) -81h; a /b = 1: means that channel b is the source (upstream) or destination (downstream) -91h. the program start byte is followed by a command (global/local register command or ram command) byte. for global command, the a /b bit in the ps byte can be ignored. if the command byte specifies a write, then from 1 to 16 additional data bytes may follow (1- 4 for registers, 1-16 for ram). if the command byte specifies a read, additional data bytes may follow. idt821068 responds to the read command by sending up to 16 data bytes upstream containing the information requested by the upstream controller. each byte on monitor channel must be transferred at least twice and in two consecutive frames. identifica tion command for gci mode in order to distinguish different devices unambiguously by software, a two byte identification command is defined for analog lines gci devices (8000h): 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 each device will then respond with its specific identification code. for idt821068, this two byte identification code is (8082h): command type and forma t idt821068 provides three types of register/ram commands for both mpi and gci operation, they are: local command , which is used to configure each channel by reading/writing the local registers, there are 14 local registers per channel available; global command , which is used to configure all 8 channels by reading/writing the global registers, there are totally 26 global registers shared by the 8 channels; ram command , which is used to read/write the coe-ram and fsk-ram, there are 40 words (divided into 5 blocks) with 14 bits per word coe-ram for each channel, and 32 words (divided into 4 blocks) with 16 bits per word fsk-ram shared by the 8 channels. the format of the commands is as the following: r /w ct address r /w: read/write command bit. b7 = 0: read command b7 = 1: write command ct: command type b6 b5 = 00: lc - local command b6 b5 = 01: gc - global command b6 b5 = 10: n ot allowed b6 b5 = 11: rc - ram command address: specify which register or which block of ram will be read or written. for both local command and global command, b[4:0] are used to address the local registers or global registers. for ram command, b4 is used to distinguish the coe-ram and the fsk ram: b4 = 0: the ram command is for coe-ram b4 = 1: the ram command is for fsk-ram when the ram command is for coe-ram, b[3:0] are used to address the blocks in the coe-ram. when the ram command is for fsk-ram, b3 is always 0? and b[2:0] are used to address the blocks in the fsk-ram. addressing local register in mpi mode, when using local command, the channel enable command (global command 6) must be used first to specify which channel will be addressed, then the local command follows. if global command 6 enable more than one channel, then all the channels enabled will be addressed by one local command at one time.
industrial temperature range idt821068 octal programmable pcm codec 20 address specified by local command in/out data registers being r /w b4 b3 b2 b1 b0 x x x 1 1 byte 1 x x x 11 (b1b0 = 11, 4 bytes data) byte 2 x x x 10 byte 3 x x x 01 byte 4 x x x 00 x x x 1 0 byte 1 x x x 10 (b1b0 = 10, 3 bytes data) byte 2 x x x 01 byte 3 x x x 00 x x x 0 1 byte 1 x x x 01 (b1b0 = 01, 2 bytes data) byte 2 x x x 00 x x x 0 0 byte 1 x x x 00 (b1b0 = 00, 1 byte data) in gci mode, both the location of time slot (determined by s1 and s0 pin) and the b4 bit in program start byte would indicate which channel to be addressed. the b[4:0] of a local command determine which one of the 12 local registers will be addressed for the configured channel. idt821068 provides a consecutive adjacent addressing for read/ write local registers. if the address for local register is specified in a local command, then, according to the value of ?b1b0? of the address, there will be 1 to 4 adjacent local registers will be read/write automatically with the highest order first. for example, if the address of the register specified by the local command is end with ?11? (b1b0 = ?11?), 4 adjacent registers will be read/write by this command. if b1b0 = ?10?, then 3 adjacent registers will be read/write. if b1b0 = ?01?, then only 2 adjacent registers will be read/write. if b1b0 = ?00?, then only this specified register will be read/write. the details of the consecutive adjacent addressing is shown as below: in mpi mode, when cs becomes low, idt821068 treats the first byte on ci pin as command, and the rest byte(s) as data. to write another command, the cs must change from low to high to finish the previous command and then change from high to low to indicate the start of the next command. when a read/write operation is completed, cs must be pulled to high in 8-bit time. in mpi mode, the procedure of consecutive adjacent addressing can be stopped by cs signal at any time. when cs change from low to high, the operation of the current register and the next adjacent registers will be aborted. but the results of previous operation are still remained. in gci mode, the procedure of consecutive adjacent addressing can not be stopped once a command is initiated. for write command, the number of bytes following the command must be the same as the number of registers being written. addressing global register the address of the 26 global registers is as the following: 00000 - 11000 (global register 1- 25) 11100 (global register 26) it should be noted that the address of global register 26 is 11100 and not 11001, because the address space from 11001 to 11011 are reserved. for the adjacent 25 global registers, idt821068 also provides a consecutive adjacent addressing for read/write operation, as it does for local registers. in mpi mode, the procedure of consecutive adjacent addressing for global register also can be stopped by cs signal at any time as it does for local registers. but in gci mode, the procedure can not be stopped once a command is initiated. for the 26th global register (address is 11100), once a read/write procedure is completed, cs must be pulled high. it should be noted that, in gci mode, the global command for all 8 channels can be transferred at any gci time slot. addressing coe-ram idt821068 provides 40 words of coe-ram for per channel. they are divided into 5 blocks, each block contains 8 words. the 5 blocks are: - imf ram (word 0 - word 7), for impedance matching filter coefficient; - ecf ram (word 8 - word 15), for echo cancellation filter coefficient; - gis ram (word 16 - word 23), for gain of impedance scaling; - frx ram (word 24 - word 30) and gtx ram (word 31), for coefficient of frequency response correction in transmit path and gain in transmit path; - frr ram (word 32 - word 38) and grx ram (word 39), for coefficient of frequency response correction in receive path and gain in receive path. refer to appendix i (coe-ram address mapping) for the coe- ram address. each word in the coe-ram is 14-bit (b[13:0]) wide. to write a coe- ram word, 16 bits (b[15:0]) (or, two 8-bit bytes) are needed to fulfill with msb first , but the lowest two bits (b[1:0]) will be ignored. when being read, each coe-ram word will output 16 bits with msb first, but the last two bits (b[1:0]) are meaningless. in mpi mode, when addressing coe-ram, global command 6 (channel enable) must be used first to specify the channel(s), then the address (b[4:0]) in the followed ram command indicates which block of the coe-ram for the channel(s) will be addressed. in gci mode, both the location of time slot (determined by s1 and s0 pin) and the b4 bit in program start byte would indicate which channel will be addressed. the address in a coe-ram command locates a block of coe- ram. that is, when executing a coe-ram command, then all 8 words in the block will be read/write automatically, with the highest order word first. in mpi mode, when read/write a coe-ram block, the procedure of addressing words can be stopped by cs signal at any time. when cs change from low to high, the operation of the current word and the next adjacent words will be aborted. but for previous operation, the results are still remained. addressing fsk-ram the fsk-ram is consisted of 4 blocks, each block has eight 16-bit words. the total 32 words of fsk-ram are shared by the 8 channels, only one channel can used it at one time. to write a fsk-ram word, 16 bits (or, two 8-bit bytes) are needed to fulfill with msb first . when being read, each fsk-ram word in fsk- ram will output 16 bits with msb first. table 4 - consecutive adjacent addressing
industrial temperature range idt821068 octal programmable pcm codec 21 only b[2:0] of a fsk-ram command are needed to address the 4 blocks in fsk-ram, b3 should always be 0, and b4 always be 1 to indicate the address is for fsk-ram. the way of addressing fsk-ram is similar to that of addressing coe-ram. when the address of a fsk-ram block is specified in a fsk-ram command, all 8 words in the block will be read/write automatically, with the highest order word first. in mpi mode, when read/write a fsk-ram block, the procedure of addressing words can be stopped by cs signal at any time. when cs change from low to high, the operation of the current word and the next adjacent words will be aborted. but this will not change the results of the previous operation. examples of mpi commands examples of local command, global command, coe-ram command and fsk-ram command are shown in table 5, 6, 7 and 8 respectively. table 5 - local command transmission sequence in mpi mode data transmitted on ci pin data received on co pin global command 6 (channel program enable byte) local command byte, write data byte 1 . . . data byte m* global command 6 (channel program enable byte) local command byte, read identification code (81h) data byte 1 . . . data byte m* table 6 - global command transmission sequence in mpi mode data transmitted on ci pin data received on co pin global command byte, write data byte 1 . . . data byte m* global command byte, read identification code (81h) data byte 1 . . . data byte m* table 7 - coe-ram command transmission sequence in mpi mode data transmitted on ci pin data received on co pin global command 6 (channel program enable byte) coe-ram command byte, write data word 1 ( data_h, data_l**) data word 2 ( data_h, data_l) . . . data word 8 ( data_h, data_l) global command 6 (channel program enable byte) coe-ram command byte, read identification code ( 81h ) data word 1 ( data_h, data_l **) data word 2 ( data_h, data_l) . . . data word 8 ( data_h, data_l) table 8 - fsk-ram command transmission sequence in mpi mode data transmitted on ci pin data received on co pin fsk-ram command byte, write data word 1 ( data_h, data_l** ) data word 2 ( data_h, data_l) . . . data word 8 ( data_h, data_l) fsk-ram command byte, read identification code ( 81h ) data word 1 ( data_h, data_l **) data word 2 ( data_h, data_l) . . . data word 8 ( data_h, data_l)
industrial temperature range idt821068 octal programmable pcm codec 22 notes: * the number of the data bytes can be 1 to 4 depending on the two bits ?b1b0? of the local/ global command. ** when addressing the coe-ram, the data word is 14-bit wide, the lowest two bits in data_l of each word are ignored; when addressing the fsk-ram, the data word is 16-bit wide. power-on sequence to power on idt821068, users should follow this sequence: 1. apply ground first; 2. apply vcc, finish signal connections and set reset low, thus the device goes into default state; 3. set reset high; 4. select master clock frequency; 5. program filter coefficients and other parameters as required. def aul t st a te after reset when the idt821068 is powered on, or reset either by reset pin or by gci/mpi command, the device defaults to the following state: 1. all eight channels are powered down and in standby mode; 2. all loopbacks and cutoff are disabled; 3. dx1/du pin is selected for all channels to transmit data, dr1/ dd pin is selected for all channels to receive data; 4. the master clock frequency is 2.048 mhz; 5. for mpi operation, transmit and receive time slots are set to 0- 7 respectively for channel 1-8. the pcm data rate is the same as bit clock frequency. data is transmitted on rising edges and received on falling edges; for gci operation, time slots for transmitting and receiving are determined by ts pin. data rate is determined by double pin. dd, du clocks data on rising edges of dcl. 6. a-law is selected; 7. coefficients of frx, frr, gtx and gtr are set to be default values. the analog gains are set to be 0 db. imf, gis and ecf are disabled. hpf is enabled (see figure 9: signal flow of each channel); 8. sb1 and sb2 are configured as inputs; 9. si1 and si2 are configured as no debounce; 10. all interrupts are disabled, all pending interrupts are cleared; 11. all feature function blocks including fsk, dual tone, teletax, ring trip and level metering are turned off; 12. chclk1 and chclk2 are set to be high. the data stored in ram will not be changed by any kind of resets. in this way, the ram data will not be lost unless the device is powered down physically. examples of gci commands examples of local/global command and coe-ram/fsk-ram command are shown in table 9 and table 10, respectively. table 9 - local/global command transmission sequence in gci mode gci monitor channel downstream upstream program start byte (81h/91h) local/global command byte, write data byte 1 . . . data byte m* program start byte (81h/91h) local/global command byte, read program start byte (81h/91h) data byte 1 . . . data byte m* table 10 - coe-ram/fsk-ram command transmission sequence in gci mode gci monitor channel downstream upstream program start byte (81h/91h) coe-ram/fsk-ram command byte, write data word 1 ( data_h , data_l** ) data word 2 ( data_h , data_l ) . . . data word 8 ( data_h , data_l ) program start byte (81h/91h) coe-ram/fsk-ram command byte, read program start byte (81h/91h) data word 1 ( data_h , data_l** ) data word 2 ( data_h , data_l ) . . . data word 8 ( data_h , data_l )
industrial temperature range idt821068 octal programmable pcm codec 23 commands list notes: 1. r /w = 0, read command; r /w = 1, write command 2. ?r? in the command means that bit is reserved for future use, it must be fill in ?0? in write operation and be ignored in read operation. 3. the following commands are available for both mpi and gci mode except for those with special statement. global commands : 1. no operation (a0h), write only when executing this command, a data byte (ffh) must follow to ensure proper operation. 2. read version number (20h), read only by executing this read command, users can get the version number of the idt821068. the default value is 1(d). 3. software reset (a2h), write only this command resets all local registers, but does not reset global registers and rams. when executing this command, a data byte (ffh) must follow to ensure proper operation. 4. hardware reset (a3h), write only the action of this command is equivalent to pulling the reset pin low (refer to page 22 for information about reset operation). when executing this command, a data byte (ffh) must follow to ensure proper operation. 5. mclk select (24h/a4h), read/write. (this command is for mpi mode only.) in mpi mode, this command is used to determine the frequency of master clock, which is used by the dsp. there are 9 frequencies can be selected, the default value is 2.048mhz. sel [3:0] = 0000: 8.192 mhz sel [3:0] = 0001: 4.096 mhz sel [3:0] = 0010: 2.048 mhz (default) sel [3:0] = 0110: 1.536 mhz sel [3:0] = 1110: 1.544 mhz sel [3:0] = 0101: 3.072 mhz sel [3:0] = 1101: 3.088 mhz sel [3:0] = 0100: 6.144 mhz sel [3:0] = 1100: 6.176 mhz (in gci mode, the frequency of mclk is the same as that of dcl, which is determined by the ci/double pin. refer to ?pin description? on page 4 for further detail.) 6. channel program enable (25h/a5h), read/write. (this command is for mpi mode only.) channel program enable command is used to specify the channel(s) before local commands or a coe-ram commands are executed. this command byte provides one bit per channel to indicate if the channel can receive local commands and coe-ram commands. ce[0] = 0: disabled, channel 1 can not receive local commands and coe-ram commands (default); ce[0] = 1: enabled, channel 1 can receive local commands and coe-ram commands. b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 1 0 0 0 0 0 b7 b6 b5 b4 b3 b2 b1 b0 command 1 0 1 0 0 0 1 0 b7 b6 b5 b4 b3 b2 b1 b0 command 1 0 1 0 0 0 1 1 b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 0 1 0 0 i/o data r r r r sel[3] sel[2] sel[1] sel[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 0 1 0 1 i/o data ce[7] ce[6] ce[5] ce[4] ce[3] ce[2] ce[1] ce[0] b7 b6 b5 b4 b3 b2 b1 b0 command 1 0 1 0 0 0 0 0
industrial temperature range idt821068 octal programmable pcm codec 24 ce[1] = 0: disabled, channel 2 can not receive local commands and coe-ram commands (default); ce[1] = 1: enabled, channel 2 can receive local commands and coe-ram commands. ce[2] = 0: disabled, channel 3 can not receive local commands and coe-ram commands (default); ce[2] = 1: enabled, channel 3 can receive local commands and coe-ram commands. ce[3] = 0: disabled, channel 4 can not receive local commands and coe-ram commands (default); ce[3] = 1: enabled, channel 4 can receive local commands and coe-ram commands. ce[4] = 0: disabled, channel 5 can not receive local commands and coe-ram commands (default); ce[4] = 1: enabled, channel 5 can receive local commands and coe-ram commands. ce[5] = 0: disabled, channel 6 can not receive local commands and coe-ram commands (default); ce[5] = 1: enabled, channel 6 can receive local commands and coe-ram commands. ce[6] = 0: disabled, channel 7 can not receive local commands and coe-ram commands (default); ce[6] = 1: enabled, channel 7 can receive local commands and coe-ram commands. ce[7] = 0: disabled, channel 8 can not receive local commands and coe-ram commands (default); ce[7] = 1: enabled, channel 8 can receive local commands and coe-ram commands. 7. pcm data offset, pcm clock slope, data mode select, and a/ m -law select (26h/a6h), read/write pcm data offset bits (do[2:0]) configure the number of clocks that pcm data transmit and receive time slot is offset from the frame synchro- nous signal (fs). ( for mpi mode only ) do[2:0] = 000: 0 bclk period (default); do[2:0] = 001: 1 bclk period; do[2:0] = 010: 2 bclk periods; do[2:0] = 011: 3 bclk periods; do[2:0] = 100: 4 bclk periods; do[2:0] = 101: 5 bclk periods; do[2:0] = 110: 6 bclk periods; do[2:0] = 111: 7 bclk periods. pcm clock slope (cs[2:0]) bits select transmit and receive clock edge. ( for mpi mode only ) cs[2] = 0: single clock (default); cs[2] = 1: double clock; cs[1:0] = 00: idt821068 transmits data on rising edges of bclk, and receives data on falling edges of bclk (default); cs[1:0] = 01: idt821068 transmits data on rising edges of bclk, and receives data on rising edges of bclk; cs[1:0] = 10: idt821068 transmits data on falling edges of bclk, and receives data on falling edges of bclk; cs[1:0] = 11: idt821068 transmits data on falling edges of bclk, and receives data on rising edges of bclk. data mode select bit (dms) defines the coding format of the voice data. ( for both mpi and gci mode ) dms = 0: compressed code (default); dms = 1: linear code. a/ m -law select bit (ls) selects a-law or m -law. ( for both mpi and gci mode ) ls = 0: a-law (default); ls = 1: m -law. 8. chopper clock select (27h/a7h), read/write chclk1_sel bits configure the programmable output pin chclk1. chclk1_sel[3:0] = 0000: chclk1 outputs 1 permanently (default); chclk1_sel[3:0] = 0001: chclk1 outputs digital signal at the frequency of 1000/2 hz; chclk1_sel[3:0] = 0010: chclk1 outputs digital signal at the frequency of 1000/4 hz; chclk1_sel[3:0] = 0011: chclk1 outputs digital signal at the frequency of 1000/6 hz; chclk1_sel[3:0] = 0100: chclk1 outputs digital signal at the frequency of 1000/8 hz; b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 0 1 1 0 i/o data ls dms cs[2] cs[1] cs[0] do[2] do[1] do[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 0 1 1 1 i/o data r r chclk2_ sel[1] chclk2_ sel[0] chclk1_ sel[3] chclk1_ sel[2] chclk1_ sel[1] chclk1_ sel[0]
industrial temperature range idt821068 octal programmable pcm codec 25 chclk1_sel[3:0] = 0101: chclk1 outputs digital signal at the frequency of 1000/10 hz; chclk1_sel[3:0] = 0110: chclk1 outputs digital signal at the frequency of 1000/12 hz; chclk1_sel[3:0] = 0111: chclk1 outputs digital signal at the frequency of 1000/14 hz; chclk1_sel[3:0] = 1000: chclk1 outputs digital signal at the frequency of 1000/16 hz; chclk1_sel[3:0] = 1001: chclk1 outputs digital signal at the frequency of 1000/18 hz; chclk1_sel[3:0] = 1010: chclk1 outputs digital signal at the frequency of 1000/20 hz; chclk1_sel[3:0] = 1011: chclk1 outputs digital signal at the frequency of 1000/22 hz; chclk1_sel[3:0] = 1100: chclk1 outputs digital signal at the frequency of 1000/24 hz; chclk1_sel[3:0] = 1101: chclk1 outputs digital signal at the frequency of 1000/26 hz; chclk1_sel[3:0] = 1110: chclk1 outputs digital signal at the frequency of 1000/28 hz; chclk1_sel[3:0] = 1111: chclk1 outputs 0 permanently. chclk2_sel bits configure the programmable output pin chclk2. chclk2_sel[1:0] = 00: chclk2 outputs 1 permanently (default); chclk2_sel[1:0] = 01: chclk2 outputs digital signal at the frequency of 512 khz; chclk2_sel[1:0] = 10: chclk2 outputs digital signal at the frequency of 256 khz; chclk2_sel [1:0] = 1 1: chclk2 outputs digital signal at the frequency of 16.384 mhz. 9. slic debounced input si1 (28h), read only sia is the debounced version of si1, see figure 10 (debounce filters) on page 15. the sia bits sia[7:0] contain slic status which slic interface pin si1 receives. sia[0]: debounced data of si1 on channel 1 (default value is 0); sia[1]: debounced data of si1 on channel 2 (default value is 0); sia[2]: debounced data of si1 on channel 3 (default value is 0); sia[3]: debounced data of si1 on channel 4 (default value is 0); sia[4]: debounced data of si1 on channel 5 (default value is 0); sia[5]: debounced data of si1 on channel 6 (default value is 0); sia[6]: debounced data of si1 on channel 7 (default value is 0); sia[7]: debounced data of si1 on channel 8 (default value is 0). 10. slic debounced input si2 (29h), read only sib is the debounced version of si2, see figure 10 (debounce filters) on page 15. the sib bits sib[7:0] contain slic ground key status which slic interface pin si2 receives. sib[0]: debounced data of si2 on channel 1 (default value is 0); sib[1]: debounced data of si2 on channel 2 (default value is 0); sib[2]: debounced data of si2 on channel 3 (default value is 0); sib[3]: debounced data of si2 on channel 4 (default value is 0); sib[4]: debounced data of si2 on channel 5 (default value is 0); sib[5]: debounced data of si2 on channel 6 (default value is 0); sib[6]: debounced data of si2 on channel 7 (default value is 0); sib[7]: debounced data of si2 on channel 8 (default value is 0). 11. slic real-time sb1 data (2ah/aah), read/write sb1 bits contain the information of slic bidirectional pin sb1. sb1[0]: sb1 data on channel 1 (default value is 0); sb1[1]: sb1 data on channel 2 (default value is 0); b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 1 0 1 0 0 0 i/o data sia[7] sia[6] sia[5] sia[4] sia[3] sia[2] sia[1] sia[0] b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 1 0 1 0 0 1 i/o data sib[7] sib[6] sib[5] sib[4] sib[3] sib[2] sib[1] sib[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 1 0 1 0 i/o data sb1[7] sb1[6] sb1[5] sb1[4] sb1[3] sb1[2] sb1[1] sb1[0]
industrial temperature range idt821068 octal programmable pcm codec 26 sb1[2]: sb1 data on channel 3 (default value is 0); sb1[3]: sb1 data on channel 4 (default value is 0); sb1[4]: sb1 data on channel 5 (default value is 0); sb1[5]: sb1 data on channel 6 (default value is 0); sb1[6]: sb1 data on channel 7 (default value is 0); sb1[7]: sb1 data on channel 8 (default value is 0). 12. slic real-time sb2 data (2bh/abh), read/write sb2 bits contain the information of slic bidirectional pin sb2. sb2[0]: sb2 data on channel 1 (default value is 0); sb2[1]: sb2 data on channel 2 (default value is 0); sb2[2]: sb2 data on channel 3 (default value is 0); sb2[3]: sb2 data on channel 4 (default value is 0); sb2[4]: sb2 data on channel 5 (default value is 0); sb2[5]: sb2 data on channel 6 (default value is 0); sb2[6]: sb2 data on channel 7 (default value is 0); sb2[7]: sb2 data on channel 8 (default value is 0). 13. sb1 direction (2ch/ach), read/write slic sb1 direction bits (sb1c[7:0]) configure the directions of slic interface pin sb1. sb1c[0] = 0: sb1 pin on channel 1 is configured as input (default); sb1c[0] = 1: sb1 pin on channel 1 is configured as output; sb1c[1] = 0: sb1 pin on channel 2 is configured as input (default); sb1c[1] = 1: sb1 pin on channel 2 is configured as output; sb1c[2] = 0: sb1 pin on channel 3 is configured as input (default); sb1c[2] = 1: sb1 pin on channel 3 is configured as output; sb1c[3] = 0: sb1 pin on channel 4 is configured as input (default); sb1c[3] = 1: sb1 pin on channel 4 is configured as output; sb1c[4] = 0: sb1 pin on channel 5 is configured as input (default); sb1c[4] = 1: sb1 pin on channel 5 is configured as output; sb1c[5] = 0: sb1 pin on channel 6 is configured as input (default); sb1c[5] = 1: sb1 pin on channel 6 is configured as output; sb1c[6] = 0: sb1 pin on channel 7 is configured as input (default); sb1c[6] = 1: sb1 pin on channel 7 is configured as output; sb1c[7] = 0: sb1 pin on channel 8 is configured as input (default); sb1c[7] = 1: sb1 pin on channel 8 is configured as output. 14. sb2 direction (2dh/adh), read/write slic sb2 direction bits (sb2c[7:0]) configure the direction of slic interface pin sb2. sb2c[0] = 0: sb2 pin on channel 1 is configured as input (default); sb2c[0] = 1: sb2 pin on channel 1 is configured as output; sb2c[1] = 0: sb2 pin on channel 2 is configured as input (default); sb2c[1] = 1: sb2 pin on channel 2 is configured as output; sb2c[2] = 0: sb2 pin on channel 3 is configured as input (default); sb2c[2] = 1: sb2 pin on channel 3 is configured as output; b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 1 0 1 1 i/o data sb2[7] sb2[6] sb2[5] sb2[4] sb2[3] sb2[2] sb2[1] sb2[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 1 1 0 0 i/o data sb1c[7] sb1c[6] sb1c[5] sb1c[4] sb1c[3] sb1c[2] sb1c[1] sb1c[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 1 1 0 1 i/o data sb2c[7] sb2c[6] sb2c[5] sb2c[4] sb2c[3] sb2c[2] sb2c[1] sb2c[0]
industrial temperature range idt821068 octal programmable pcm codec 27 sb2c[3] = 0: sb2 pin on channel 4 is configured as input (default); sb2c[3] = 1: sb2 pin on channel 4 is configured as output; sb2c[4] = 0: sb2 pin on channel 5 is configured as input (default); sb2c[4] = 1: sb2 pin on channel 5 is configured as output; sb2c[5] = 0: sb2 pin on channel 6 is configured as input (default); sb2c[5] = 1: sb2 pin on channel 6 is configured as output; sb2c[6] = 0: sb2 pin on channel 7 is configured as input (default); sb2c[6] = 1: sb2 pin on channel 7 is configured as output; sb2c[7] = 0: sb2 pin on channel 8 is configured as input (default); sb2c[7] = 1: sb2 pin on channel 8 is configured as output; 15. slic ring trip setting (2eh/aeh), read/write output selection bits os[2:0] determine which output pin will be selected as the ring control signal source. os = 000 - 010: not defined; os = 011: sb1 is selected (when it is configured as an output); os = 100: sb2 is selected (when it is configured as an output); os = 101: so1 is selected; os = 110: so2 is selected; os = 111: so3 is selected. ring trip enable bit rte enables or disables the ring trip function block: rte = 0: the ring trip function block is disabled (default); rte = 1: the ring trip function block is enabled. input selection bit is determines which input will be selected as the off-hook indication signal source. is = 0: si1 is selected (default); is = 1: si2 is selected. input polarity indicator bit ipi indicates the valid polarity of input. ipi = 0: active low (default); ipi = 1: active high. output polarity indicator bit opi indicates the valid polarity of output. opi = 0: the selected output pin changes from high to low to activate the ring (default); opi = 1: the selected output pin changes from low to hight to activate the ring. 16. level meter result low register (30h), read only this register contains the lower 8 bits of level meter output with the default value of ?0000-0000?, lvll[0] is the active high data_ready bit. to read the level meter result, users should read the low register which contains lvll[7:0] data first, then read the high register which contains lvlh[7:0] data. once the high register is read, the lvll[0] bit is cleared immediately. 17. level meter result high register (31h), read only this register contains the higher 8 bits of level metering output with the default value of 0(d). 18. level meter counter (32h/b2h), read/write level meter counter register is used to configure the number of time cycles for sampling pcm data. cn = 0 (d): the linear or compressed pcm data is output to lmrh and lmrl directly (default); cn = n: pcm data is sampled for n * 125 m s (n from 1 to 255). b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 0 1 1 1 0 i/o data opi r ipi is rte os[2] os[1] os[0] b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 1 1 0 0 0 0 i/o data lmrl[7] lmrl[6] lmrl[5] lmrl[4] lmrl[3] lmrl[2] lmrl[1] drlv b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 1 1 0 0 0 1 i/o data lmrh[7] lmrh[6] lmrh[5] lmrh[4] lmrh[3] lmrh[2] lmrh[1] lmrh[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 0 1 0 i/o data cn[7] cn[6] cn[5] cn[4] cn[3] cn[2] cn[1] cn[0]
industrial temperature range idt821068 octal programmable pcm codec 28 b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 1 1 0 i/o data sl[7] sl[6] sl[5] sl[4] sl[3] sl[2] sl[1] sl[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 0 1 1 i/o data r toi tf lmo l/c cs[2] cs[1] cs[0] 19. level meter channel select, level meter mode select, level meter on/off, teletax pulse frequency and dual tone output in- vert (33h/b3h), read/write level meter channel select bits (cs[2:0]) select the channel, data on which will be level metered. cs = 000: channel 1 is selected (default); cs = 001: channel 2 is selected; cs = 010: channel 3 is selected; cs = 011: channel 4 is selected; cs = 100: channel 5 is selected; cs = 101: channel 6 is selected; cs = 110: channel 7 is selected; cs = 111: channel 8 is selected. level meter mode select bit (l/c) determines the mode of level meter operation. l/c = 0: message mode is selected. compressed pcm will be output to lmrh transparently (default); l/c = 1: meter mode is selected. linear pcm data will be metered and output to lmrh and lmrl, when data_ready bit in lmrl register is ?1?. level meter on/off bit (lmo) enables the level meter. lmo = 0: level meter is disabled (default); lmo = 1: level meter is enabled. teletax pulse frequency bit (tf) selects the frequency of teletax pulse. tf = 0: teletax pulse frequency is 16 khz (default); tf = 1: teletax pulse frequency is 12 khz. dual tone output invert bit (toi) determines whether output tone signal will be inverted or not. toi = 0: no inversion (default); toi = 1: output signal is inverted. 20. fsk flag length (34h/b4h), read/write flag length bits (fl[7:0]) determine the number of flag bits ?1? which will be transmitted between the transmission of message bytes. the value is valid from 0 to 255(d). the default value is 0(d). if 0(d) is selected, no flag signal will be sent. 21. fsk data length (35h/b5h), read/write data length bits (wl[7:0]) determine the number of all the data bytes which will be transmitted except flag. the value is valid from 0 to 64(d). any value larger than 64(d) will be taken as 64(d) by the cpu. the default value of this register is 0(d). when 0(d) is selected, none of the word data will be sent out. when mark after send (mas bit in global command 24) is set to ?1?, the mark signal will be sent; while mark after send is set to ?0?, the transmission of mark signal will be termi- nated. 22. fsk seizure length (36h/b6h), read/write seizure length bits (sl[7:0]) determine the number of ?01? pairs which represent seizure phase (seizure length is two times of the value in sl[7:0], which is valid from 0 to 255(d), corresponding to seizure length 0 to 510). the default value is 0(d). when 0(d) is selected, no seizure signal will be sent. b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 1 0 0 i/o data fl[7] fl[6] fl[5] fl[4] fl[3] fl[2] fl[1] fl[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 0 0 1 i/o data wl[7] wl[6] wl[5] wl[4] wl[3] wl[2] wl[1] wl[0]
industrial temperature range idt821068 octal programmable pcm codec 29 23. fsk mark length (37h/b7h), read/write mark length bits (ml[7:0]) determine the number of mark bits ?1? which will be transmitted in initial flag phase. the value is valid from 0 to 255(d), the default value is 0(d). when 0(d) is selected, no mark signal will be sent. 24. fsk start, mark after send, fsk mode select, fsk channel select and fsk on/off (38h/b8h), read/write fsk start bit (fs) should be set to ?1? when users are going to send out fsk data. it will be cleared to the default value ?0? at the end of word data. when seizure length, mark length together with data length bits are all set to 0(d), the fsk start bit will be reset to ?0? immediately after it is set to ?1?. mark after send bit (mas) determine the fsk block operation after the word data has been sent. mas = 0: the output will be muted after sending out word data (default); mas = 1: after sending out one frame of message data (=< 64 bytes), idt821068 keeps sending a series of '1' until the mas bit is set to 0 and the fs bit is set to 1. fsk mode select bit (fms) determines which specification the idt821068 follows: fms = 0: bellcore specification is selected (default); fms = 1: bt specification is selected. fsk channel select bits (fcs[2:0]) selects the channel on which fsk operation will be implemented. fcs[2:0] = 000: channel 1 is selected (default); fcs[2:0] = 001: channel 2 is selected; fcs[2:0] = 010: channel 3 is selected; fcs[2:0] = 011: channel 4 is selected; fcs[2:0] = 100: channel 5 is selected; fcs[2:0] = 101: channel 6 is selected; fcs[2:0] = 110: channel 7 is selected; fcs[2:0] = 111: channel 8 is selected. fsk on/off (fo) enables or disables the whole fsk function block. fo = 0: fsk is disabled (default); fo = 1: fsk is enabled. 25. loop control and pll power down (3ch/bch), read/write loop control bits (lp[4:0]) determine the loopback status. refer to figure 9 for detail information. lp[0] = 0: analog loopback via pcm highway is disabled (default); lp[0] = 1: analog loopback via pcm highway is enabled; lp[1] = 0: digital loopback via pcm highway is disabled (default); lp[1] = 1: digital loopback via pcm highway is enabled; lp[2] = 0: digital loopback via 8 khz interface is disabled (default); lp[2] = 1: digital loopback via 8 khz interface is enabled; lp[3] = 0: analog loopback via 8 khz interface is disabled (default); lp[3] = 1: analog loopback via 8 khz interface is enabled; lp[4] = 0: digital loopback via analog interface is disabled (default); lp[4] = 1: digital loopback via analog interface is enabled. pll power down bit (pllpd) controls the status of phase lock loop. pllpd = 0: the device is in normal operation (default); pllpd = 1: phase lock loop is powered down. the device works in power-saving mode. all clocks stop running. b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 0 1 1 1 i/o data ml[7] ml[6] ml[5] ml[4] ml[3] ml[2] ml[1] ml[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 1 0 0 0 i/o data fo fcs[2] fcs[1] fcs[0] r fms mas fs b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 1 1 1 1 0 0 i/o data r pllpd r lp[4] lp[3] lp[2] lp[1] lp[0]
industrial temperature range idt821068 octal programmable pcm codec 30 local commands : 1. coefficient select (00h/80h), read/write coefficient select bits (cs[7:0]) are used to control digital filters and function blocks on corresponding channel such as impedance matching filter, echo cancellation filter, high-pass filter, gain for impedance scaling, gain in transmit/receive path and frequency response correc- tion in transmit/receive path. see figure 9 for detail. it should be noted that impedance matching filter and gain for impedance scaling are working together to adjust impedance. that is to say, cs[0] and cs[2] should be set to the same value to ensure the correct operation. cs[0] = 0: impedance matching filter is disabled (default); cs[0] = 1: impedance matching filter coefficient is set by imf ram; cs[1] = 0: echo cancellation filter is disabled (default); cs[1] = 1: echo cancellation filter coefficient is set by ecf ram; cs[2] = 0: gain for impedance scaling is disabled (default); cs[2] = 1: gain for impedance scaling coefficient is set by gis ram; cs[3] = 0: high-pass filter is bypassed/disabled; cs[3] = 1: high-pass filter is enabled (default); cs[4] = 0: frequency response correction in transmit path is bypassed (default); cs[4] = 1: frequency response correction in transmit path coefficient is set by frx ram; cs[5] = 0: gain in transmit path is 0 db (default); cs[5] = 1: gain in transmit path coefficient is set by gtx ram; cs[6] = 0: frequency response correction in receive path is bypassed (default); cs[6] = 1: frequency response correction in receive path coefficient is set by frr ram; cs[7] = 0: gain in receive path is 0 db (default); cs[7] = 1: gain in receive path coefficient is set by grx ram. the mapping method of ram can be found in coefficient memory address mapping (page 42). 2. loop status control, pcm receive path cutoff and slic input interrupt enable (01h/81h), read/write loop status control bits (lpc[2:0]) determine the loopback status on corresponding channel. lpc[0] = 0: digital loopback via onebit is disabled on the corresponding channel (default); lpc[0] = 1: digital loopback via onebit is enabled on the corresponding channel; lpc[1] = 0: analog loopback via onebit is disabled on the corresponding channel (default); lpc[1] = 1: analog loopback via onebit is enabled on the corresponding channel; lpc[2] = 0: digital loopback via time slots is disabled on the corresponding channel (default); lpc[2] = 1: digital loopback via time slots is enabled on the corresponding channel. in this loopback mode, the digital data received from dr will be switched by the time slot setting, and then will be transmitted out from dx pin. pcm receive path cutoff bit (pcf) is used to cut off the pcm receive path, see figure 9. pcf = 0: pcm receive path in normal operation; pcf = 1: pcm receive path is cut off. slic input interrupt enable bits (ie[3:0]) enable or disable the interrupt signal on each channel. ie[0] = 0: interrupt disable. interrupt signal on sb2 (when it is selected as an input) will be ignored (default); ie[0] = 1: interrupt enable. interrupt signal on sb2 (when it is selected as an input) will be recognized; ie[1] = 0: interrupt disable. interrupt signal on sb1 (when it is selected as an input) will be ignored (default); ie[1] = 1: interrupt enable. interrupt signal on sb1 (when it is selected as an input) will be recognized; ie[2] = 0: interrupt disable. interrupt signal on si2 will be ignored (default); ie[2] = 1: interrupt enable. interrupt signal on si2 will be recognized; ie[3] = 0: interrupt disable. interrupt signal on si1 will be ignored (default); ie[3] = 1: interrupt enable. interrupt signal on si1 will be recognized; b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 0 0 0 i/o data cs[7] cs[6] cs[5] cs[4] cs[3] cs[2] cs[1] cs[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 0 0 1 i/o data ie[3] ie[2] ie[1] ie[0] pcf lpc[2] lpc[1] lpc[0]
industrial temperature range idt821068 octal programmable pcm codec 31 3. teletax gain setting (02h/82h), read/write teletax gain setting bits (tgs[7:0]) are used to set the gain of teletax on corresponding channel. the default value is ?00h? which means the gain is 0, ?ffh? represents the gain of 1. there are totally 255 steps between gain 0 and 1 corresponding to the value of the command i/o data. 4. dsh debounce and gk debounce (03h/83h), read/write dsh debounce bits (dsh[3:0]) set the debounce time of si1 input from slic on corresponding channel. dsh [3:0] = 0000: 0 ms (default); dsh [3:0] = 0001: 2 ms; dsh [3:0] = 0010: 4 ms; dsh [3:0] = 0011: 6 ms; dsh [3:0] = 0100: 8 ms; dsh [3:0] = 0101: 10 ms; dsh [3:0] = 0110: 12 ms; dsh [3:0] = 0111: 14 ms; dsh [3:0] = 1000: 16 ms; dsh [3:0] = 1001: 18 ms; dsh [3:0] = 1010: 20 ms; dsh [3:0] = 1011: 22 ms; dsh [3:0] = 1100: 24 ms; dsh [3:0] = 1101: 26 ms; dsh [3:0] = 1110: 28 ms; dsh [3:0] = 1111: 30 ms. gk debounce bits (gk[3:0]) set the debounce interval of si2 input from slic on corresponding channel. gk [3:0] = 0000: 0 ms (default); gk [3:0] = 0001: 2 ms; gk [3:0] = 0010: 4 ms; gk [3:0] = 0011: 6 ms; gk [3:0] = 0100: 8 ms; gk [3:0] = 0101: 10 ms; gk [3:0] = 0110: 12 ms; gk [3:0] = 0111: 14 ms; gk [3:0] = 1000: 16 ms; gk [3:0] = 1001: 18 ms; gk [3:0] = 1010: 20 ms; gk [3:0] = 1011: 22 ms; gk [3:0] = 1100: 24 ms; gk [3:0] = 1101: 26 ms; gk [3:0]= 1110: 28 ms; gk [3:0] = 1111: 30 ms. b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 0 1 0 i/o data tgs[7] tgs[6] tgs[5] tgs[4] tgs[3] tgs[2] tgs[1] tgs[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 0 1 1 i/o data gk[3] gk[2] gk[1] gk[0] dsh[3] dsh[2] dsh[1] dsh[0]
industrial temperature range idt821068 octal programmable pcm codec 32 5. dual tone frequency setting (04h, 05h, 06h/84h, 85h, 86h), read/write the decimal value of dual tone frequency setting bits (t0[11:0]) is the frequency of tone0 on corresponding channel. the decimal value of t1[11:0] bits is the tone1 frequency on corresponding channel. 6. tone enable and tone gain (07h/87h), read/write tone gain bits (tg[5:0]) are used to determine the gain of dual tone signal on corresponding channel. g = 20 lg(tg 2/256) + 3.14 where: g is the desired tone gain, and tg is the decimal value of tg[5:0]. tone 1 enable and tone 0 enable bits t1e and t0e are used to activate tone 1 or tone 0 on corresponding channels. t1e = 0: tone1 is disabled at the peak value in phase 90 degree (default); t1e = 1: tone1 is enabled at zero-crossing; t0e = 0: tone0 is disabled at the peak value in phase 90 degree (default); t0e = 1: tone0 is enabled at zero-crossing. 7. transmit time slot and transmit highway selection (08h/88h), read/write ( for mpi mode only ) transmit time slot bits (tt[6:0]) determine which time slot will be used to transmit data for corresponding channel. the valid value is 0d - 127d corresponding to ts0 to ts127. the default value of tt[6:0] is n for channel n+1 (n = 0 to 7). transmit highway selection bit (ths) selects the pcm highway on corresponding channel to transmit voice data. ths = 0: dx1 is selected (default); ths = 1: dx2 is selected. 8. receive time slot and highway selection (09h/89h), read/write ( for mpi mode only ) receive time slot bits rt[6:0] determine which time slot will be used to receive data for corresponding channel. the valid value is 0d - 127d corresponding to ts0 to ts127. the default value of rt[6:0] is n for channel n+1 (n = 0 to 7). receive highway selection bit rhs selects the pcm highway on corresponding channel to receive voice data. rhs = 0: dr1 is selected (default); rhs = 1: dr2 is selected. 9. channel i/o data (0ah/8ah), read/write ( for mpi mode only ) channel i/o data bits contain the information of slic i/o pins si1, si2, sb1, sb2, so1, so2 and so3 on corresponding channel. default value is ?0d?. it should be noted that both sb1 and sb2 are read only in this command. b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 1 0 0 i/o data t0[7] t0[6] t0[5] t0[4] t0[3] t0[2] t0[1] t0[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 1 0 1 i/o data t1[3] t1[2] t1[1] t1[0] t0[11] t0[10] t0[9] t0 [8] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 1 1 0 i/o data t1[11] t1[10] t1[9] t1[8] t1[7] t1[6] t1[5] t1[4] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 0 1 1 1 i/o data t1e t0e tg[5] tg[4] tg[3] tg[2] tg[1] tg[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 1 0 0 0 i/o data ths tt[6] tt[5] tt[4] tt[3] tt[2] tt[1] tt[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 1 0 0 1 i/o data rhs rt[6] rt[5] rt[4] rt[3] rt[2] rt[1] rt[0] b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 1 0 1 0 i/o data r so3 so2 so1 si1 si2 sb1 sb2
industrial temperature range idt821068 octal programmable pcm codec 33 10. teletax ramp start, d/a gain, a/d gain and channel power down (0ch/8ch), read/write teletax ramp start bit (rs) starts or stops the teletax on corresponding channel. rs = 0: teletax is stopped (default); rs = 1: teletax is started. d/a gain bit (gda) sets the gain of analog d/a for corresponding channel. gda = 0: 0 db (default); gda = 1: -6 db. a/d gain bit (gad) sets the gain of analog a/d for corresponding channel. gad = 0: 0 db (default); gad = 1: +6 db. channel power down bit (pd) disables or enables the corresponding channel. pd = 0: the corresponding channel is in normal operation; pd = 1: the corresponding channel is powered down (default). 11. pcm data low byte (0eh), read only ( for mpi mode only ) this command is used for mcu to monitor the transmit (a to d) pcm data. for linear code, the low 8 bits of the pcm data will be output at co pin, and at the same time, the transmit data will be output to pcm bus without any interference. for compressed code (a/ m -law), the total 8 bit pcm data will be output at co pin. 12. pcm data high byte (0fh), read only ( for mpi mode only ) this command is used for mcu to monitor the transmit (a to d) pcm data. for linear code, the high 8 bits of the pcm data will be output at co pin, and at the same time, the transmit data will be output to pcm bus without any interference. for compressed code (a/ m -law), this command is not used. b7 b6 b5 b4 b3 b2 b1 b0 command r /w 0 0 0 1 1 0 0 i/o data pd gad gda rs r r r r b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 0 0 1 1 1 1 i/o data pcm[15] pcm[14] pcm[13] pcm[12] pcm[11] pcm[10] pcm[9] pcm[8] b7 b6 b5 b4 b3 b2 b1 b0 command 0 0 0 0 1 1 1 0 i/o data pcm[7] pcm[6] pcm[5] pcm[4] pcm[3] pcm[2] pcm[1] pcm[0]
industrial temperature range idt821068 octal programmable pcm codec 34 analog interface absol ute maximum ra tings note: stresses greater than those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect reliability. electrical characteristics note: power measurements are made at mclk = 4.096 mhz, outputs unloaded power dissipation recommended dc opera ting conditions note: mclk: 1.536 mhz, 1.544 mhz, 2.048 mhz, 3.072 mhz, 3.088 mhz, 4.096 mhz, 6.144 mhz, 6.176 mhz or 8.192 mhz with tolerance of 50 ppm rating com?i & ind?i unit power supply voltage 6.5 v voltage on any pin with respect to ground -0.5 to 5.5 v package power dissipation 1.5 w storage temperature -65 to +150 c parameter min. typ. max. unit operating temperature - 40 +85 c power supply voltage 4.75 5.25 v digital interface parameter description min typ max units test conditions v il input low voltage 0.8 v all digital inputs v i h input high voltage 2.0 v all digital inputs v o l output low voltage 0 .8 v dx, i l = 8 ma all other digital outputs, i l = 4 ma. v oh output high voltage vdd - 0.6 v dx, i l = -8 ma all other digital outputs, i l = -4 ma. i i input current -10 10 m a all digital inputs, gnd industrial temperature range idt821068 octal programmable pcm codec 35 transmission characteristics 0 dbm0 is defined as 0.775 vrms for a-law and 0.769 vrms for m -law, both for 600 w load. unless otherwise noted, the analog input is a 0 dbm0, 1020 hz sine wave; the input amplifier is set for unity gain. the digital input is a pcm bit stream equivalent to that obtained by passing a 0 dbm0, 1020 hz sine wave through an ideal encoder. the output level is sin(x)/x-corrected. typical values are for v dd = 5v and t a = 25c. absolute gain gain tracking frequency response group delay parameter description min typ max units test conditions g xa transmit gain, absolute 0c to 85c - 40c - 0.25 - 0.30 0.25 0.30 db db signal input of 0 dbm0, m - law or a - law g ra receive gain, absolute 0c to 85c - 40c - 0.25 - 0.30 0.25 0.30 db db measured relative to 0 dbm0, m - law or a - law, pcm input of 0 dbm0 1020 hz, r l = 10 k w parameter description min typ max units test conditions gt x transmit gain tracking +3 dbm0 to ? 37 dbm0 (exclude ? 37 dbm0) - 37 dbm0 to - 50 dbm0 (exclude ? 50 dbm0) - 50 dbm0 to - 55 dbm0 - 0.25 - 0.50 - 1.40 0.25 0.50 1.40 db db db tested by sinusoidal me thod, m - law/a - law gt r receive gain tracking +3 dbm0 to - 40 dbm0 (exclude ? 40 dbm0) - 40 dbm0 to - 50 dbm0 (exclude ? 50 dbm0) - 50 dbm0 to - 55 dbm0 - 0.10 - 0.25 - 0.50 0.10 0.50 0.50 db db db tested by sinusoidal method, m - law/a - law parameter description min typ max units test conditions g xr transmit gain, relative to g xa f = 50 hz f = 60 hz f = 300 hz f = 300 hz to 3000 hz (exclude 3000 hz) f = 3000 hz to 3400 hz f = 3600 hz f 3 4600 hz - 0.10 - 0.15 - 0.60 - 30 - 30 0.20 0.15 0.15 - 0.10 - 35 db db db db db db db high - pass filter is enabled. g rr receive gain, relative to g ra f < 300 hz f = 300 hz to 3000 hz (exclude 3000 hz) f = 3000 hz to 3400 hz f = 3600 hz f 3 4600 hz - 0.15 - 0.60 0 0.15 0.15 - 0.20 - 35 db db db db db parameter description min typ max units test conditions d xr transmit delay, relative to 1800 hz f = 500 hz ? 600 hz f = 600 hz ?1000 hz f = 1000 hz ? 2600 hz f = 2600 hz ? 2800 hz 280 150 80 280 m s m s m s m s d rr receive delay, relative to 1800 hz f = 500 hz ? 600 hz f = 600 hz ?1000 hz f = 1000 hz ? 2600 hz f = 2600 hz ? 2800 hz 50 80 120 150 m s m s m s m s
industrial temperature range idt821068 octal programmable pcm codec 36 note: crosstalk into the transmit channels (vin) can be significantly affected by parasitic capacitive coupling from v out outputs. pcb layouts should be arranged to minimize these parasitics. interchannel crosstalk distortion noise parameter description min typ max units test conditions n xc transmit noise, c message weighted for m -law 18 dbrnc0 n xp transmit noise, psophometric weighted for a-law -68 dbm0p n rc receive noise, c message weighted for m -law 12 dbrnc0 n rp receive noise, psophometric weighted for a-law -78 dbm0p n rs noise, single frequency f = 0 khz ? 100 khz -53 dbm0 vin = 0 vrms, tested at vout psr x power supply rejection transmit f = 300 hz ? 3.4 khz f = 3.4 khz ? 20 khz 40 25 db db vdd = 5.0 vdc + 100 mvrms psr r power supply rejection receive f = 300 hz ? 3.4 khz f = 3.4 khz ? 20 khz 40 25 db db pcm code is positive one lsb, vdd = 5.0 vdc + 100 mvrms sos spurious out-of-band signals at v out relative to input pcm code applied: 4600 hz ? 20 khz 20 khz ? 50 khz -40 -30 db db 0 dbm0, 300 hz ? 3400 hz input parameter description min typ max units test conditions xt x-r transmit to receive crosstalk -85 -78 db 300 hz ? 3400 hz, 0 dbm0 signal into vin of interfering channel. idle pcm code into channel under test. xt r-x receive to transmit crosstalk -85 -80 db 300 hz ? 3400 hz, 0 dbm0 pcm code into interfering channel. vin = 0 vrms for channel under test. xt x-x transmit to transmit crosstalk -85 -78 db 300 hz ? 3400 hz, 0 dbm0 signal into vin of interfering channel. vin = 0 vrms for channel under test. xt r-r receive to receive crosstalk -85 -80 db 300 hz ? 3400 hz, 0 dbm0 pcm code into interfering channel. idle pcm code into channel under test. parameter description min typ max units test conditions std x transmit signal to total distortion ratio a - law : input level = 0 dbm0 input level = - 30 dbm0 input level = - 40 dbm0 input level = - 45 dbm0 m - law : input level = 0 dbm0 input level = - 30 dbm 0 input level = - 40 dbm0 input level = - 45 dbm0 36 36 30 24 36 36 31 27 db db db db db db db db itu - t o.132 sine wave method,psophometric weighted for a - law, c message weighted for m - law. std r receive signal to total distortion ratio a - law : inp ut level = 0 dbm0 input level = - 30 dbm0 input level = - 40 dbm0 input level = - 45 dbm0 m - law : input level = 0 dbm0 input level = - 30 dbm0 input level = - 40 dbm0 input level = - 45 dbm0 36 36 30 24 36 36 31 27 db db db db db db db db itu - t o.1 32 sine wave method,psophometric weighted for a - law;sine wave method,c message weighted for m - law; sfd x single frequency distortion, transmit - 42 dbm0 200 hz - 3400 hz, 0 dbm0 input, output any other single frequency 3400 hz sfd r single frequency di stortion, receive - 42 dbm0 200 hz - 3400 hz, 0 dbm0 input, output any other single frequency 3400 hz imd intermodulation distortion - 42 dbm0 transmit or receive,two frequencies in the range (300 hz - 3400 hz) at - 6 dbm0
industrial temperature range idt821068 octal programmable pcm codec 37 timing characteristics reset and clock figure 13. reset and clock timing t6 t6 bclk t4 t5 t5 t8 t8 mclk t7 t7 t10 t10 dcl t9 t11 t3 t3 cclk t1 t2 t2 parameter description min typ max units test conditions t0 reset pulse width 50 m s t1 cclk period 122 100k ns t2 cclk pulse width 48 ns t3 cclk rise and fall time 25 ns t4 bclk period 122 ns t5 bclk pulse width 48 ns t6 bclk rise and fall time 15 ns t7 mclk pulse width 48 ns t8 mclk rise and fall time 15 ns t9 dcl period f = 2.048 khz f = 4.096 khz 488 244 ns t10 dcl rise and fall time 60 ns t11 dcl pulse width 90 ns reset t0 note: crosstalk into the transmit channels (vin) can be significantly affected by parasitic capacitive coupling v out outputs. pcb layouts should be arranged to minimize these parasitics. intrachannel crosstalk parameter description min typ max units test conditions xt x-r transmit to receive crosstalk -80 -70 db 300 hz ? 3400 hz, 0 dbm0 signal into vin. idle pcm code into dr. xt r-x receive to transmit crosstalk -80 -70 db 300 hz ? 3400 hz, 0 dbm0 pcm code into dr. vin = 0 vrms.
industrial temperature range idt821068 octal programmable pcm codec 38 microprocessor interface figure 14. mpi input timing t12 t15 t16 t14 t17 cclk cs ci slic output t13 t12 t21 t22 t14 cclk cs co t13 t24 t23 figure 15. mpi output timing parameter description min typ max units test conditions t1 2 cs setup time 15 ns t13 cs pulse width 8n*t1 (n>=2) ns t14 cs off time 250 ns t15 input data setup time 30 ns t16 input data hold time 30 ns t17 slic output latch valid 1000 ns t21 output data turn on delay 50 ns t22 output data hold time 0 ns t23 output data turn off delay 50 ns t24 output data valid 0 50 ns
industrial temperature range idt821068 octal programmable pcm codec 39 note*: these timing diagram only apply to the situation when data clock in on falling edges and clock out on rising edges. figure 16. transmit and receive timing * 1 2 3 4 5 6 7 8 1 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 bit 8 bclk fs dx1/ dx2 dr1/ dr2 t55 t54 time slot t53 t52 t51 t61 t62 tsx1 / tsx2 t56 t57 pcm interface parameter description min typ max units test conditions t51 data enable delay time 5 70 ns t52 data delay time from bclk 5 70 ns t53 data float delay time 5 70 ns t54 frame sync setup time 25 t4 - 50 ns t55 frame sync hold time 50 ns t56 tsx enable delay time 5 80 ns t57 tsx disable delay time 5 80 ns t61 receive data setup time 25 ns t62 receive data hold time 5 ns figure 17. typical frame sync timing (2 mhz operation) 27 28 29 30 31 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 x0 x1 x2 x3 r0 r1 r2 r3 time slot fs dx dr tsx
industrial temperature range idt821068 octal programmable pcm codec 40 gci interface figure 18. gci interface timing b7 b6 b0 detail see figure 19 dcl fsc dd/du parameter description min typ max units test conditions t71 fsc rise and fall time 60 ns t72 fsc setup time 70 t9 - 50 ns t73 fsc hold time 50 ns t74 fsc high pulse width 130 ns t75 du data delay time 100 ns t77 dd data setup time 110 ns t78 dd data hold time 50 ns
industrial temperature range idt821068 octal programmable pcm codec 41 du dd fsc dcl 2.048 mhz t72 t73 t74 t75 t75 t77 t78 t72 t74 b7 b6 b7 b6 du dd fsc dcl 4.096 mhz t72 t73 t74 t75 t75 t77 t78 t72 t74 b7 b7 figure 19. transmit and receive timing for gci interface (detail timing for figure 18) dcl operation at 2.048 mhz dcl operation at 4.096 mhz
industrial temperature range idt821068 octal programmable pcm codec 42 generally, 6 bits of address are needed to locate each word of the 40 coe-ram words. the 40 words of coe-ram are divided into 5 blocks with 8 words per block in idt821068, so only 3 bits of address are needed to locate each of the block. when the address of a coe-ram block (b[2:0]) is specified in a coe-ram command, all 8 words of this block will be addressed automatically, with the highest order word first (idt821068 will count down from '111' to '000' so that it accesses the 8 words successively). refer to ?addressing the coe-ram? on page 20 for more information. the address assignment for the 40 words coe-ram is shown in the following table. the number in the ?address? column is the actual hexadecimal address of the coe-ram word, as the idt821068 handles the lower 3 bits automatically, only the higher 3 bits (in bold style) are needed for a coe- ram command. it should be noted that, when addressing the grx ram, the frr ram will be addressed at the same time. appendix i: idt821068 coe-ram address mapping km ram act ram acr ram gtx ram grx ram km ram act ram acr ram gtx ram grx ram km ram act ram acr ram gtx ram grx ram km ram act ram acr ram gtx ram grx ram km ram act ram acr ram gtx ram grx ram km ram act ram acr ram gtx ram grx ram km ram act ram acr ram frr ram grx ram grx ram frr ram gtx ram frx ram gis ram ecf ram imf ram channel1 channel2 channel3 channel4 channel5 channel6 channel8 channel7 000 001 010 011 100 word# b[2:0] of a coe-ram command 0 7 8 15 16 23 24 31 32 39
industrial temperature range idt821068 octal programmable pcm codec 43 word # address function 39 100 ,111 grx ram 38 100 ,110 37 100 ,101 36 100 ,100 35 100 ,011 34 100 ,010 33 100 ,001 32 100 ,000 frr ram 31 011 ,111 gtx ram 30 011 ,110 29 011 ,101 28 011 ,100 27 011 ,011 26 011 ,010 25 011 ,001 24 011 ,000 frx ram 23 010 ,111 22 010 ,110 21 010 ,101 20 010 ,100 19 010 ,011 18 010 ,010 17 010 ,001 16 010 ,000 gis ram 15 001 ,111 14 001 ,110 13 001 ,101 12 001 ,100 11 001 ,011 10 001 ,010 9 001 ,001 8 001 ,000 ecf ram 7 000 ,111 6 000 ,110 5 000 ,101 4 000 ,100 3 000 ,011 2 000 ,010 1 000 ,001 0 000 ,000 imf ram table 11 - coe-ram address allocation
industrial temperature range idt821068 octal programmable pcm codec 44 idt xxxxxx xx x device type blank process/ temperature range 821068 industrial (-40 c to +85 c) octal programmable pcm codec package px plastic quad flat pack (pqfp, px128) ordering informa tion
45 corporate headquarters for sales: for tech support: 2975 stender way 800-345-7015 or 408-727-6116 408-330-1552 santa clara, ca 95054 fax: 408-492-8674 email: telecomhelp@idt.com www.idt.com* *to search for sales office near you, please click the sales button found on our home page or dial the 800# above and press 2. the idt logo is a registered trademark of integrated device technology, inc. data sheet document history 01/31/2002 pgs. 1, 2, 5, 12, 15, 33 02/19/2002 pg. 35 01/10/2003 pg. 44 12/08/2003 pgs. 28, 29, 32, 35, 38


▲Up To Search▲   

 
Price & Availability of IDT821068PX

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X